1
0
mirror of https://git.savannah.gnu.org/git/gperf.git synced 2025-12-02 13:09:22 +00:00

Avoid gcc warnings.

This commit is contained in:
Bruno Haible
2002-10-14 20:48:02 +00:00
parent fe3f53d354
commit 7278ae8eda
4 changed files with 38 additions and 14 deletions

View File

@@ -49,10 +49,17 @@ main (argc, argv)
if (buflen == 0)
break;
if (in_word_set (buf, buflen) && verbose)
printf ("in word set:");
else if (verbose)
printf ("NOT in word set:");
if (in_word_set (buf, buflen))
{
if (verbose)
printf ("in word set:");
}
else
{
if (verbose)
printf ("NOT in word set:");
}
for (p = buf; p < buf + buflen; p += 2)
printf (" %02X%02X", (unsigned char) p[0], (unsigned char) p[1]);
printf("\n");