aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/main.c b/main.c
index fe3bb2a..6fc41b5 100644
--- a/main.c
+++ b/main.c
@@ -47,10 +47,7 @@ int main(int argc, char **argv) {
}
ssize_t bytes_read = getdelim(&INBUF, &len, '\0', FP);
- if (FP != NULL) {
- fflush(FP);
- fclose(FP);
- }
+ fclose(FP);
PARSER = init_parser(INBUF);
STACK = init_array(10);