mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-19 13:53:29 +08:00
Fix "may be used uninitialized" warning.
gold/ PR gold/22914 * x86_64.cc (Target_x86_64::record_gnu_property): Initialize val.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2018-06-23 Cary Coutant <ccoutant@gmail.com>
|
||||||
|
|
||||||
|
PR gold/22914
|
||||||
|
* x86_64.cc (Target_x86_64::record_gnu_property): Initialize val.
|
||||||
|
|
||||||
2018-06-23 Cary Coutant <ccoutant@gmail.com>
|
2018-06-23 Cary Coutant <ccoutant@gmail.com>
|
||||||
|
|
||||||
PR gold/22915
|
PR gold/22915
|
||||||
|
@ -1583,7 +1583,7 @@ Target_x86_64<size>::record_gnu_property(
|
|||||||
size_t pr_datasz, const unsigned char* pr_data,
|
size_t pr_datasz, const unsigned char* pr_data,
|
||||||
const Object* object)
|
const Object* object)
|
||||||
{
|
{
|
||||||
uint32_t val;
|
uint32_t val = 0;
|
||||||
|
|
||||||
switch (pr_type)
|
switch (pr_type)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user