Don't use the // operator, since some versions of Perl don't have it.
authorMichael Goddard <michael.goddard@nokia.com>
Wed, 24 Aug 2011 02:28:50 +0000 (12:28 +1000)
committerQt by Nokia <qt-info@nokia.com>
Fri, 26 Aug 2011 00:22:09 +0000 (02:22 +0200)
Could use || but it's only used for an if test anyway.

Change-Id: I97fe251ab4f27fb75981af12316aaf5da053d47a
Reviewed-on: http://codereview.qt.nokia.com/3431
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
bin/qtmodule-configtests

index 0552f8e..ab03908 100755 (executable)
@@ -267,7 +267,7 @@ if (abs_path($out_basedir) ne abs_path($qtbasedir)) {
     while ((my $testName, my $testParameters) = each %configtests) {
         printf "  % *s: ", $maxNameLength, $testName; # right aligned, yes/no lines up
 
-        my $fatalTest = $testParameters->{"fatal"} // 0;
+        my $fatalTest = $testParameters->{"fatal"};
         my $message = $testParameters->{"message"};
 
         my $testResult = executeTest($testName);