aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorPreston Pan <preston@nullring.xyz>2024-01-09 12:58:54 -0800
committerPreston Pan <preston@nullring.xyz>2024-01-09 12:58:54 -0800
commit6ccf0572469dfc8cd8fa7b8537b2ac6c265d2df6 (patch)
tree058cb2c40c4450b4dec66ef4573d8a001208a4df /main.c
parent0cfcbe979277f6d3b096b85d7fb6f4c02c366c72 (diff)
done FLI in theory
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);