test-symlinkat: remove declaration of unused local
authorJim Meyering <meyering@redhat.com>
Wed, 13 Oct 2010 08:06:29 +0000 (10:06 +0200)
committerJim Meyering <meyering@redhat.com>
Wed, 13 Oct 2010 08:06:29 +0000 (10:06 +0200)
* tests/test-symlinkat.c (main): Remove unused local, "buf".

ChangeLog
tests/test-symlinkat.c

index 3f0ff01..03bdd3f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2010-10-13  Jim Meyering  <meyering@redhat.com>
 
+       test-symlinkat: remove declaration of unused local
+       * tests/test-symlinkat.c (main): Remove unused local, "buf".
+
        test-inttostr: avoid shadowing warnings
        * tests/test-inttostr.c (main): Rename local, "buf" to "b",
        and use malloc rather than the stack for the same reason as
index 8cdc86d..a7382f9 100644 (file)
@@ -53,7 +53,6 @@ do_symlink (char const *contents, char const *name)
 int
 main (void)
 {
-  char buf[80];
   int result;
 
   /* Remove any leftovers from a previous partial run.  */