mirror of
https://github.com/curl/curl.git
synced 2026-04-15 05:01:42 +03:00
checksrc: fix uninitialized variable warning
The loop doesn't need to be executed without a file argument. Closes https://github.com/curl/curl/pull/4444
This commit is contained in:
parent
0f62c9af8b
commit
ac830139da
1 changed files with 1 additions and 1 deletions
|
|
@ -176,7 +176,7 @@ sub checkwarn {
|
|||
|
||||
$file = shift @ARGV;
|
||||
|
||||
while(1) {
|
||||
while(defined $file) {
|
||||
|
||||
if($file =~ /-D(.*)/) {
|
||||
$dir = $1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue