summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc/stdio_threading/fwrite/fwrite_test.c
diff options
context:
space:
mode:
authorguenther <>2014-07-20 01:29:03 +0000
committerguenther <>2014-07-20 01:29:03 +0000
commit137c95377460c8ff91a5fd5101d88c29c9211dd6 (patch)
treeae76bac47c18605413349ffb9e328643088db94a /src/regress/lib/libc/stdio_threading/fwrite/fwrite_test.c
parenta8625205776df9965436bb88ff3573cea9e53437 (diff)
downloadopenbsd-137c95377460c8ff91a5fd5101d88c29c9211dd6.tar.gz
openbsd-137c95377460c8ff91a5fd5101d88c29c9211dd6.tar.bz2
openbsd-137c95377460c8ff91a5fd5101d88c29c9211dd6.zip
Delete unused variables found by -Wall
Diffstat (limited to 'src/regress/lib/libc/stdio_threading/fwrite/fwrite_test.c')
-rwxr-xr-xsrc/regress/lib/libc/stdio_threading/fwrite/fwrite_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regress/lib/libc/stdio_threading/fwrite/fwrite_test.c b/src/regress/lib/libc/stdio_threading/fwrite/fwrite_test.c
index 39bfb51ef0..621c5cb6e8 100755
--- a/src/regress/lib/libc/stdio_threading/fwrite/fwrite_test.c
+++ b/src/regress/lib/libc/stdio_threading/fwrite/fwrite_test.c
@@ -41,7 +41,7 @@ main(void)
41 char sfn[24]; 41 char sfn[24];
42 char buf[sizeof(TEXT)]; 42 char buf[sizeof(TEXT)];
43 FILE *sfp; 43 FILE *sfp;
44 int fd, i; 44 int fd;
45 45
46 strlcpy(sfn, "/tmp/barnacles.XXXXXXXX", sizeof(sfn)); 46 strlcpy(sfn, "/tmp/barnacles.XXXXXXXX", sizeof(sfn));
47 if ((fd = mkstemp(sfn)) == -1 || 47 if ((fd = mkstemp(sfn)) == -1 ||