diff options
author | bapt <bapt@FreeBSD.org> | 2015-11-15 12:48:42 +0000 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2015-11-15 12:48:42 +0000 |
commit | 0e798dd249af994824b1ceafbe6bc3f34acce2d5 (patch) | |
tree | 1d35fd4082151863e791bfe912a8e58d7c49f4f7 /lib/libc/tests/stdio/fmemopen2_test.c | |
parent | ff63dbca6e1ace69739dba252945a53929f2f322 (diff) | |
download | FreeBSD-src-0e798dd249af994824b1ceafbe6bc3f34acce2d5.zip FreeBSD-src-0e798dd249af994824b1ceafbe6bc3f34acce2d5.tar.gz |
Remove unused variables to fix building world
Diffstat (limited to 'lib/libc/tests/stdio/fmemopen2_test.c')
-rw-r--r-- | lib/libc/tests/stdio/fmemopen2_test.c | 3 |
1 files changed, 1 insertions, 2 deletions
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. */ |