Skip to content

Commit

Permalink
miniunz: tiny fix
Browse files Browse the repository at this point in the history
Prevents usage of uninitialized variable
  • Loading branch information
tehnick committed Jun 13, 2018
1 parent 49f2677 commit b14fa83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/zip/minizip/miniunz.c
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ int do_extract_currentfile(uf,popt_extract_without_path,popt_overwrite)

if (((*popt_overwrite)==0) && (err==UNZ_OK))
{
char rep;
char rep = '\0';
FILE* ftestexist;
ftestexist = fopen(write_filename,"rb");
if (ftestexist!=NULL)
Expand Down

0 comments on commit b14fa83

Please sign in to comment.