summaryrefslogtreecommitdiff
path: root/sed
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2008-01-16 14:05:55 +0100
committerPaolo Bonzini <bonzini@gnu.org>2008-01-16 14:52:54 +0100
commit0dd01dfb9366db53cf828dfe84252c73f76960c1 (patch)
tree795988cc9917fb3f6d8bbe03d1d4eabebc3deead /sed
parentfb871b6b563c85c8502dc5592e38ab03a0964465 (diff)
downloadsed-0dd01dfb9366db53cf828dfe84252c73f76960c1.tar.gz
sed/utils.c: Remove declaration of unused local, "fd".
2008-01-16 Jim Meyering <meyering@redhat.com> * sed/utils.c (panic): Remove declaration of unused local, "fd".
Diffstat (limited to 'sed')
-rw-r--r--sed/utils.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sed/utils.c b/sed/utils.c
index 240430e..78ae01c 100644
--- a/sed/utils.c
+++ b/sed/utils.c
@@ -1,5 +1,5 @@
/* Functions from hack's utils library.
- Copyright (C) 1989, 1990, 1991, 1998, 1999, 2003
+ Copyright (C) 1989, 1990, 1991, 1998, 1999, 2003, 2008
Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
@@ -96,7 +96,6 @@ panic(const char *str, ...)
{
if (open_files->temp)
{
- int fd = fileno (open_files->fp);
fclose (open_files->fp);
errno = 0;
unlink (open_files->name);