diff options
author | Pedro Alves <palves@redhat.com> | 2014-08-20 11:05:31 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2014-08-20 11:29:15 +0100 |
commit | 000339af7b74593f4dd3a679427b9fe34d1254f7 (patch) | |
tree | 6fb84685c677841779746001bb11ce28308c58cd /gdb/value.c | |
parent | 5f52445bfb1421c301d95e508c5dc52c4bf86abd (diff) | |
download | gdb-000339af7b74593f4dd3a679427b9fe34d1254f7.zip gdb-000339af7b74593f4dd3a679427b9fe34d1254f7.tar.gz gdb-000339af7b74593f4dd3a679427b9fe34d1254f7.tar.bz2 |
value.c (value_contents_bits_eq): Initialize l,h for gcc -Wall.
2014-08-20 Pedro Alves <palves@redhat.com>
gdb/
* value.c (value_contents_bits_eq): Initialize l,h for gcc -Wall.
Diffstat (limited to 'gdb/value.c')
-rw-r--r-- | gdb/value.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/value.c b/gdb/value.c index b74f23a..09ee1ca 100644 --- a/gdb/value.c +++ b/gdb/value.c @@ -827,7 +827,7 @@ value_contents_bits_eq (const struct value *val1, int offset1, while (length > 0) { - ULONGEST l, h; + ULONGEST l = 0, h = 0; /* init for gcc -Wall */ int i; for (i = 0; i < 2; i++) |