diff --git a/ChangeLog b/ChangeLog index ef6ace8..5158267 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-01-16 Jim Meyering + + * sed/utils.c (panic): Remove declaration of unused local, "fd". + 2008-01-16 Jim Meyering * sed/execute.c (open_next_file, get_backup_file_name): Avoid 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);