From 9492afb6b3850fb798d9cf83d03b0f9664a4c7b2 Mon Sep 17 00:00:00 2001 From: Jim Meyering 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 deletion(-) diff --git a/ChangeLog b/ChangeLog index 3f0ff01be..03bdd3fee 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2010-10-13 Jim Meyering + 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 8cdc86d79..a7382f902 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. */ -- 2.11.0