* tests/test-perror2.c (main): Remove declaration of unused "fp".
+2011-05-24 Jim Meyering <meyering@redhat.com>
+
+ test-perror2.c: avoid warning about unused variable
+ * tests/test-perror2.c (main): Remove declaration of unused "fp".
+
2011-05-24 Eric Blake <eblake@redhat.com>
perror: avoid spurious test failure on HP-UX
int
main (void)
{
- FILE *fp;
-
/* We change fd 2 later, so save it in fd 10. */
if (dup2 (STDERR_FILENO, BACKUP_STDERR_FILENO) != BACKUP_STDERR_FILENO
|| (myerr = fdopen (BACKUP_STDERR_FILENO, "w")) == NULL)