bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] test-symlinkat: remove declaration of unused local


From: Jim Meyering
Subject: [PATCH] test-symlinkat: remove declaration of unused local
Date: Wed, 13 Oct 2010 10:06:53 +0200

FYI,

>From 9492afb6b3850fb798d9cf83d03b0f9664a4c7b2 Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Wed, 13 Oct 2010 10:06:29 +0200
Subject: [PATCH] test-symlinkat: remove declaration of unused local

* tests/test-symlinkat.c (main): Remove unused local, "buf".
---
 ChangeLog              |    3 +++
 tests/test-symlinkat.c |    1 -
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 3f0ff01..03bdd3f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2010-10-13  Jim Meyering  <address@hidden>

+       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
diff --git a/tests/test-symlinkat.c b/tests/test-symlinkat.c
index 8cdc86d..a7382f9 100644
--- a/tests/test-symlinkat.c
+++ b/tests/test-symlinkat.c
@@ -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.  */
--
1.7.3.1.104.gc752e



reply via email to

[Prev in Thread] Current Thread [Next in Thread]