Gag -Wuninitialized warnings.

Add -Wuninitialized to default warning list.
This commit is contained in:
Andrew Cagney
2001-03-28 21:42:32 +00:00
parent 381bab78db
commit 93d56215df
11 changed files with 440 additions and 397 deletions

View File

@@ -1766,7 +1766,10 @@ sh_do_fp_register (int regnum)
print_spaces_filtered (15 - strlen (REGISTER_NAME (regnum)), gdb_stdout);
/* Print the value. */
printf_filtered (inv ? "<invalid float>" : "%-10.9g", flt);
if (inv)
printf_filtered ("<invalid float>");
else
printf_filtered ("%-10.9g", flt);
/* Print the fp register as hex. */
printf_filtered ("\t(raw 0x");