]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Operator change. No difference in behaviour, but avoids a warning with Perl
authorNicholas Nethercote <njn@valgrind.org>
Fri, 4 Jul 2003 15:59:49 +0000 (15:59 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Fri, 4 Jul 2003 15:59:49 +0000 (15:59 +0000)
5.8.0.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1713

cachegrind/cg_annotate.in

index 1092ba4612545b5f0a34240fbc64a8ac2ae39a42..d73ee2dd94ef8264c92a20a37ab6174fef0a5845 100644 (file)
@@ -618,7 +618,7 @@ sub print_summary_and_fn_totals ()
         my $reached_all_thresholds = 1;
         foreach my $i (0 .. scalar @thresholds - 1) {
             my $prop = $curr_totals[$i] * 100 / $summary_CC->[$sort_order[$i]];
-            $reached_all_thresholds &= ($prop >= $thresholds[$i]);
+            $reached_all_thresholds &&= ($prop >= $thresholds[$i]);
         }
         last if $reached_all_thresholds;