Skip to content

Commit

Permalink
fixup variable 'encode' is used uninitialized
Browse files Browse the repository at this point in the history
  • Loading branch information
bagder committed Aug 26, 2024
1 parent 9bd8ed3 commit de39ac2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trurl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1288,7 +1288,7 @@ static struct string *memdupzero(char *source, size_t len, bool *modified)

if(len) {
char *sep = memchr(source, '=', len);
char *encode;
char *encode = NULL;
int olen;
if(!sep) { /* no '=' */
char *decode = decodequery(source, (int)len, &olen);
Expand Down

0 comments on commit de39ac2

Please sign in to comment.