* tests/test-futimens.h (test_futimens): Rename inner local, s/fd/fd0/
to avoid a shadowing warning.
+2011-09-24 Jim Meyering <meyering@redhat.com>
+
+ test-futimens: avoid a warning from gcc -Wshadow
+ * tests/test-futimens.h (test_futimens): Rename inner local, s/fd/fd0/
+ to avoid a shadowing warning.
+
2011-09-24 Bruno Haible <bruno@clisp.org>
fdopen: Support for MSVC 9.
ASSERT (errno == EBADF);
}
{
- int fd = dup (0);
- ASSERT (0 <= fd);
- ASSERT (close (fd) == 0);
+ int fd0 = dup (0);
+ ASSERT (0 <= fd0);
+ ASSERT (close (fd0) == 0);
errno = 0;
- ASSERT (func (fd, NULL) == -1);
+ ASSERT (func (fd0, NULL) == -1);
ASSERT (errno == EBADF);
}
{