From 6ccf0572469dfc8cd8fa7b8537b2ac6c265d2df6 Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Tue, 9 Jan 2024 12:58:54 -0800 Subject: done FLI in theory --- main.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'main.c') 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); -- cgit