From 0e798dd249af994824b1ceafbe6bc3f34acce2d5 Mon Sep 17 00:00:00 2001 From: bapt Date: Sun, 15 Nov 2015 12:48:42 +0000 Subject: Remove unused variables to fix building world --- lib/libc/tests/stdio/fmemopen2_test.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/libc/tests/stdio/fmemopen2_test.c') diff --git a/lib/libc/tests/stdio/fmemopen2_test.c b/lib/libc/tests/stdio/fmemopen2_test.c index d733d10..c3aa6c5 100644 --- a/lib/libc/tests/stdio/fmemopen2_test.c +++ b/lib/libc/tests/stdio/fmemopen2_test.c @@ -105,10 +105,9 @@ ATF_TC_WITHOUT_HEAD(test_autoalloc); ATF_TC_BODY(test_autoalloc, tc) { /* Let fmemopen allocate the buffer. */ - char str[] = "A quick test"; FILE *fp; long pos; - size_t nofw, nofr, i; + size_t nofw, i; int rc; /* Open a FILE * using fmemopen. */ -- cgit v1.1