Skip to content

Commit

Permalink
lib: Fix uninitialized variable 'encoding' in parser_interface.c (OSG…
Browse files Browse the repository at this point in the history
…eo#3975)

Fix uninitialized variable 'encoding' in parser_interface.c

Co-authored-by: Shubham Vasudeo Desai <[email protected]>
  • Loading branch information
ShubhamDesai and Shubham Vasudeo Desai authored Jul 4, 2024
1 parent 79726a0 commit cb1e9b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/gis/parser_interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ void G__usage_xml(void)
char *type;
char *s, *top;
int i;
const char *encoding;
const char *encoding = NULL;
int new_prompt = 0;

new_prompt = G__uses_new_gisprompt();
Expand Down

0 comments on commit cb1e9b3

Please sign in to comment.