Skip to content

Commit

Permalink
maint: Don't declare root node as static
Browse files Browse the repository at this point in the history
  • Loading branch information
andy5995 committed Feb 21, 2024
1 parent 756fb30 commit 904f7f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion canfigger.c
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ st_canfigger_list *
canfigger_parse_file(const char *file, const int delimiter)
{
err_strdup = 0;
static st_canfigger_node *root = NULL;
st_canfigger_node *root = NULL;
st_canfigger_list *list = NULL;

FILE *fp = fopen(file, "r");
Expand Down

0 comments on commit 904f7f6

Please sign in to comment.