Delete unused variables found by -Wall
authorguenther <guenther@openbsd.org>
Sun, 20 Jul 2014 01:29:03 +0000 (01:29 +0000)
committerguenther <guenther@openbsd.org>
Sun, 20 Jul 2014 01:29:03 +0000 (01:29 +0000)
regress/lib/libc/stdio_threading/fgetln/fgetln_test.c
regress/lib/libc/stdio_threading/fgets/fgets_test.c
regress/lib/libc/stdio_threading/fputs/fputs_test.c
regress/lib/libc/stdio_threading/fread/fread_test.c
regress/lib/libc/stdio_threading/fwrite/fwrite_test.c

index d5c4db2..0c81583 100755 (executable)
@@ -43,7 +43,6 @@ int
 main(void)
 {
        char sfn[24];
-       char buf[sizeof(TEXT_N)];
        FILE *sfp;
        int fd, i;
 
index 685d4c8..c53abbc 100755 (executable)
@@ -42,7 +42,6 @@ int
 main(void)
 {
        char sfn[24];
-       char buf[sizeof(TEXT)];
        FILE *sfp;
        int fd, i;
 
index c0a6175..90b6179 100755 (executable)
@@ -41,7 +41,7 @@ main(void)
        char sfn[24];
        char buf[sizeof(TEXT)];
        FILE *sfp;
-       int fd, i;
+       int fd;
 
        strlcpy(sfn, "/tmp/barnacles.XXXXXXXX", sizeof(sfn));
        if ((fd = mkstemp(sfn)) == -1 ||
index b2372f5..c45a64d 100755 (executable)
@@ -44,7 +44,6 @@ int
 main(void)
 {
        char sfn[24];
-       char buf[sizeof(TEXT)];
        FILE *sfp;
        int fd, i;
 
index 39bfb51..621c5cb 100755 (executable)
@@ -41,7 +41,7 @@ main(void)
        char sfn[24];
        char buf[sizeof(TEXT)];
        FILE *sfp;
-       int fd, i;
+       int fd;
 
        strlcpy(sfn, "/tmp/barnacles.XXXXXXXX", sizeof(sfn));
        if ((fd = mkstemp(sfn)) == -1 ||