summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2000-08-30 23:06:03 +0000
committerDJ Delorie <dj@delorie.com>2000-08-30 23:06:03 +0000
commitde80b3afb898fb5dfde723ef58b2bd3f5cc28744 (patch)
treec92e2dc99e1a95e627110e32aa1cde28a3844681
parente4230da796b5c3adcb2f6ac133bf253f6de83376 (diff)
downloadbinutils-redhat-de80b3afb898fb5dfde723ef58b2bd3f5cc28744.tar.gz
* resrc.c (close_input_stream): delete extraneous logic
-rw-r--r--binutils/ChangeLog4
-rw-r--r--binutils/resrc.c6
2 files changed, 4 insertions, 6 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 19fc9bdd13..a0b115e490 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,7 @@
+2000-08-30 Jamie Guinan <guinan@bluebutton.com>
+
+ * resrc.c (close_input_stream): delete extraneous logic
+
2000-08-24 Hans-Peter Nilsson <hp@axis.com>
* NEWS: Mention support for CRIS.
diff --git a/binutils/resrc.c b/binutils/resrc.c
index ccc42ea689..68bc7c4030 100644
--- a/binutils/resrc.c
+++ b/binutils/resrc.c
@@ -498,12 +498,6 @@ read_rc_file (filename, preprocessor, preprocargs, language, use_temp_file)
static void
close_input_stream ()
{
- if (cpp_pipe != NULL)
- {
- pclose (cpp_pipe);
- cpp_pipe = NULL;
- }
-
if (istream_type == ISTREAM_FILE)
{
if (cpp_pipe != NULL)