From: Jim Meyering Date: Fri, 9 Nov 2012 07:03:57 +0000 (-0800) Subject: tests/nap.h: avoid warning about unused variable X-Git-Tag: v0.1~374 X-Git-Url: http://erislabs.net/gitweb/?a=commitdiff_plain;ds=sidebyside;h=025f7741264a170d2a87c30370bc4b96b256f3b4;p=gnulib.git tests/nap.h: avoid warning about unused variable * tests/nap.h (nap_works): Remove now-unused declaration of "result". --- 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);