diff options
author | Jim Meyering <meyering@redhat.com> | 2011-05-24 21:28:46 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2011-05-24 21:28:46 +0200 |
commit | 734bedd126553e3619936f4fa84bf4854b7c40d6 (patch) | |
tree | a0bf1ca94beeb8d02ba481512eddaef8c8108ebf /tests/test-perror2.c | |
parent | 9d3a2863a14f0d0ea5ef48c42684921e30e9fac6 (diff) | |
download | gnulib-734bedd126553e3619936f4fa84bf4854b7c40d6.tar.gz |
test-perror2.c: avoid warning about unused variable
* tests/test-perror2.c (main): Remove declaration of unused "fp".
Diffstat (limited to 'tests/test-perror2.c')
-rw-r--r-- | tests/test-perror2.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/test-perror2.c b/tests/test-perror2.c index d8e0ec5e07..3aab640a48 100644 --- a/tests/test-perror2.c +++ b/tests/test-perror2.c @@ -37,8 +37,6 @@ static FILE *myerr; 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) |