From d5a52f3951fff7ee272bd0d4cd95cd122d07fa64 Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Fri, 21 Oct 2016 15:28:24 +0200 Subject: build: Comply with -Wextra compiler flag This reduces the risk for some bugs, for instance due to signed/unsigned mismatches and unused variables. --- src/lib/tests/bitmap_test.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/lib/tests/bitmap_test.c') diff --git a/src/lib/tests/bitmap_test.c b/src/lib/tests/bitmap_test.c index 4d2d0c73..7eb72fe7 100644 --- a/src/lib/tests/bitmap_test.c +++ b/src/lib/tests/bitmap_test.c @@ -35,6 +35,9 @@ int bitmap_test(int argc, char ** argv) ssize_t r; ssize_t offset = 100; + (void) argc; + (void) argv; + srand(time(NULL)); bmp = bmp_create(bits, offset); -- cgit v1.2.3