* dwarf.c (display_debug_names): Initialize hash_prev.
gcc-4.3.0 warns that it may be used uninitialized. It takes a look and a half at the code to understand that it's false.
This commit is contained in:
parent
25bda061bf
commit
0a79bef4f2
|
@ -1,3 +1,7 @@
|
|||
2017-07-18 Hans-Peter Nilsson <hp@bitrange.com>
|
||||
|
||||
* dwarf.c (display_debug_names): Initialize hash_prev.
|
||||
|
||||
2017-07-17 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
PR 21433
|
||||
|
|
|
@ -7816,7 +7816,7 @@ display_debug_names (struct dwarf_section *section, void *file)
|
|||
printf (_("Used %zu of %lu buckets.\n"), buckets_filled,
|
||||
(unsigned long) bucket_count);
|
||||
|
||||
uint32_t hash_prev;
|
||||
uint32_t hash_prev = 0;
|
||||
size_t hash_clash_count = 0;
|
||||
size_t longest_clash = 0;
|
||||
size_t this_length = 0;
|
||||
|
|
Loading…
Reference in New Issue