Skip to content

Commit 8195109

Browse files
cgzonesdburgener
authored andcommitted
Drop unnecessary call of yylex_destroy()
yylex_destroy() is now called at the end of run_analysis() by cleanup_parsing().
1 parent 5089da3 commit 8195109

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/main.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@
4040

4141
extern int yydebug;
4242

43-
extern int yylex_destroy(void);
44-
4543
extern int verbose_flag;
4644

4745
static void usage(void)
@@ -564,8 +562,6 @@ int main(int argc, char **argv)
564562
exit_code = EX_SOFTWARE;
565563
}
566564

567-
yylex_destroy();
568-
569565
if (config_enabled_checks) {
570566
free_string_list(config_enabled_checks);
571567
}

0 commit comments

Comments
 (0)