diff options
author | guenther <> | 2014-07-20 01:29:03 +0000 |
---|---|---|
committer | guenther <> | 2014-07-20 01:29:03 +0000 |
commit | 61b0982e8e00b9d378695b1873b5409afd7d7b96 (patch) | |
tree | ae76bac47c18605413349ffb9e328643088db94a /src/regress/lib/libc/stdio_threading/fwrite/fwrite_test.c | |
parent | f0d21d8f4dfc79707af2bdf219552f76beaddb73 (diff) | |
download | openbsd-61b0982e8e00b9d378695b1873b5409afd7d7b96.tar.gz openbsd-61b0982e8e00b9d378695b1873b5409afd7d7b96.tar.bz2 openbsd-61b0982e8e00b9d378695b1873b5409afd7d7b96.zip |
Delete unused variables found by -Wall
Diffstat (limited to 'src/regress/lib/libc/stdio_threading/fwrite/fwrite_test.c')
-rwxr-xr-x | src/regress/lib/libc/stdio_threading/fwrite/fwrite_test.c | 2 |
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 || |