Skip to content

Commit

Permalink
possibly uninitialized variable
Browse files Browse the repository at this point in the history
  • Loading branch information
bagder committed Oct 28, 2003
1 parent 1cdc66d commit 60ef75f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2834,6 +2834,8 @@ operate(struct Configurable *config, int argc, char *argv[])
break;
}
}
else
urlnum = 1; /* without globbing, this is a single URL */

/* if multiple files extracted to stdout, insert separators! */
separator= ((!outfiles || curl_strequal(outfiles, "-")) && urlnum > 1);
Expand Down

0 comments on commit 60ef75f

Please sign in to comment.