projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4878969
)
Remove redundante fclose(), which is handles by close_input() a few lines later.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Fri, 6 Jul 2012 08:59:05 +0000
(10:59 +0200)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Fri, 6 Jul 2012 09:01:42 +0000
(11:01 +0200)
main.c
patch
|
blob
|
history
diff --git
a/main.c
b/main.c
index
2b934e7
..
20fcd69
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-1163,11
+1163,6
@@
static bool output_preprocessor_tokens(compilation_unit_t *unit, FILE *out)
close_pp_input();
print_error_summary();
set_preprocessor_output(NULL);
- if (unit->input != stdin) {
- fclose(unit->input);
- unit->input = NULL;
- unit->name = NULL;
- }
if (unit->type == COMPILATION_UNIT_C) {
unit->type = COMPILATION_UNIT_PREPROCESSED_C;