aboutsummaryrefslogtreecommitdiffstats
path: root/src/input_file.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/input_file.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/input_file.c b/src/input_file.c
index a176d55f2..5c3ff6ad0 100644
--- a/src/input_file.c
+++ b/src/input_file.c
@@ -78,15 +78,10 @@ input_file_read(struct input_stream *is, void *ptr, size_t size)
return readSize;
}
-static int
+static void
input_file_close(struct input_stream *is)
{
- if (fclose((FILE *) is->data) < 0) {
- is->error = errno;
- return -1;
- }
-
- return 0;
+ fclose((FILE *) is->data);
}
static int