Add parentheses for clarity
authorSteve McIntyre <steve@einval.com>
Mon, 29 Oct 2018 17:27:03 +0000 (17:27 +0000)
committerSteve McIntyre <steve@einval.com>
Mon, 29 Oct 2018 17:27:03 +0000 (17:27 +0000)
bin/analyze_results

index 5e247bd..e2db20e 100755 (executable)
@@ -387,7 +387,7 @@ foreach my $input (@ARGV) {
                    my $message = $check{message};
                    $message =~ s,RESULT,$match,g;
                    $file_results{$message} = $check{type};
                    my $message = $check{message};
                    $message =~ s,RESULT,$match,g;
                    $file_results{$message} = $check{type};
-                   if ($check{type} == ERR_BUILD_TIMEOUT and $errors == 0) {
+                   if (($check{type} == ERR_BUILD_TIMEOUT) and ($errors == 0)) {
                        print "  <li>Line $lineno: $message\n";
                        print "  <li>Build killed by timeout before any errors at line $lineno\n";
                    } else {
                        print "  <li>Line $lineno: $message\n";
                        print "  <li>Build killed by timeout before any errors at line $lineno\n";
                    } else {