From 025f7741264a170d2a87c30370bc4b96b256f3b4 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 8 Nov 2012 23:03:57 -0800 Subject: [PATCH] tests/nap.h: avoid warning about unused variable * tests/nap.h (nap_works): Remove now-unused declaration of "result". --- ChangeLog | 3 +++ tests/nap.h | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a742d0a93..7e0129ecf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2012-11-08 Jim Meyering + tests/nap.h: avoid warning about unused variable + * tests/nap.h (nap_works): Remove now-unused declaration of "result". + prefix-gnulib-mk: avoid overzealous "lib/"-prefix addition * build-aux/prefix-gnulib-mk (prefix): Tighten a regexp to require white space before each of the special-cased file names, to avoid diff --git a/tests/nap.h b/tests/nap.h index 99d47b66c..56bb23ff8 100644 --- a/tests/nap.h +++ b/tests/nap.h @@ -48,7 +48,6 @@ static int nap_works (int fd, int delay, struct stat *st) { struct stat old_st; - int result = 0; old_st = *st; usleep (delay); get_mtime (fd, st, 1); -- 2.11.0