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.
This commit is contained in:
Pedro Alves 2014-08-20 11:05:31 +01:00
parent 5f52445bfb
commit 000339af7b
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2014-08-20 Pedro Alves <palves@redhat.com>
* value.c (value_contents_bits_eq): Initialize l,h for gcc -Wall.
2014-08-20 Yao Qi <yao@codesourcery.com>
* amd64-tdep.c (amd64_classify): Add a blank line after the

View File

@ -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++)