From: Nicholas Nethercote Date: Fri, 4 Jul 2003 15:59:49 +0000 (+0000) Subject: Operator change. No difference in behaviour, but avoids a warning with Perl X-Git-Tag: svn/VALGRIND_2_0_0~71 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7dede6c74008f02c1d75a72e03333c5891ae1da8;p=thirdparty%2Fvalgrind.git Operator change. No difference in behaviour, but avoids a warning with Perl 5.8.0. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1713 --- diff --git a/cachegrind/cg_annotate.in b/cachegrind/cg_annotate.in index 1092ba4612..d73ee2dd94 100644 --- a/cachegrind/cg_annotate.in +++ b/cachegrind/cg_annotate.in @@ -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;