]> granicus.if.org Git - curl/commitdiff
Fixed warning 'uninitialized value in numeric gt'.
authorGuenter Knauf <lists@gknw.net>
Tue, 17 Jul 2012 04:55:38 +0000 (06:55 +0200)
committerGuenter Knauf <lists@gknw.net>
Tue, 17 Jul 2012 04:55:38 +0000 (06:55 +0200)
This is a MSYS/MinGW-only warning; full warning text is:
Use of uninitialized value in numeric gt (>) at ../../curl/tests/runtests.pl line 2227.

tests/runtests.pl

index ddda76f1c848810a6d06ad239b30ff553ca8f8ae..ee2f30873dabf47456d97491b2c0c81ea12d1272 100755 (executable)
@@ -2206,7 +2206,7 @@ sub checksystem {
                 # given path to the "actual" windows path.
 
                 my @m = `mount`;
-                my $matchlen;
+                my $matchlen = 0;
                 my $bestmatch;
                 my $mount;