summaryrefslogtreecommitdiffstats
path: root/lib/libc/tests/stdio/fmemopen2_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/tests/stdio/fmemopen2_test.c')
-rw-r--r--lib/libc/tests/stdio/fmemopen2_test.c3
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 d4a14a8..62831fb 100644
--- a/lib/libc/tests/stdio/fmemopen2_test.c
+++ b/lib/libc/tests/stdio/fmemopen2_test.c
@@ -104,10 +104,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. */
OpenPOWER on IntegriCloud