changeset 13798:11ebabd4642a

test-symlinkat: remove declaration of unused local * tests/test-symlinkat.c (main): Remove unused local, "buf".
author Jim Meyering <meyering@redhat.com>
date Wed, 13 Oct 2010 10:06:29 +0200
parents 3b020b6c988f
children d70929a44412
files ChangeLog tests/test-symlinkat.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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
--- a/tests/test-symlinkat.c
+++ b/tests/test-symlinkat.c
@@ -53,7 +53,6 @@
 int
 main (void)
 {
-  char buf[80];
   int result;
 
   /* Remove any leftovers from a previous partial run.  */