diff options
Diffstat (limited to 'lib/roken/parse_bytes-test.c')
-rw-r--r-- | lib/roken/parse_bytes-test.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/roken/parse_bytes-test.c b/lib/roken/parse_bytes-test.c index 3c42cb1827cb..87f2fa8984aa 100644 --- a/lib/roken/parse_bytes-test.c +++ b/lib/roken/parse_bytes-test.c @@ -63,7 +63,6 @@ main(int argc, char **argv) for (i = 0; i < sizeof(tests)/sizeof(tests[0]); ++i) { char buf[256]; int val = parse_bytes (tests[i].str, tests[i].def_unit); - int len; if (val != tests[i].val) { printf ("parse_bytes (%s, %s) = %d != %d\n", @@ -73,7 +72,7 @@ main(int argc, char **argv) ++ret; } if (tests[i].canonicalp) { - len = unparse_bytes (tests[i].val, buf, sizeof(buf)); + (void) unparse_bytes (tests[i].val, buf, sizeof(buf)); if (strcmp (tests[i].str, buf) != 0) { printf ("unparse_bytes (%d) = \"%s\" != \"%s\"\n", tests[i].val, buf, tests[i].str); |