|
From: <sv...@va...> - 2007-05-24 20:47:14
|
Author: weidendo
Date: 2007-05-24 21:47:10 +0100 (Thu, 24 May 2007)
New Revision: 6749
Log:
callgrind_annotate: Fix a warning
Port a fix for ""Possible precedence problem" from
cachegrind/cg_annotate, see r1713.
Modified:
trunk/callgrind/callgrind_annotate.in
Modified: trunk/callgrind/callgrind_annotate.in
===================================================================
--- trunk/callgrind/callgrind_annotate.in 2007-05-24 20:42:41 UTC (rev 6748)
+++ trunk/callgrind/callgrind_annotate.in 2007-05-24 20:47:10 UTC (rev 6749)
@@ -867,7 +867,7 @@
if ($summary_CC->[$sort_order[$i]] >0) {
$prop = $prop / $summary_CC->[$sort_order[$i]];
}
- $reached_all_thresholds &= ($prop >= $thresholds[$i]);
+ $reached_all_thresholds &&= ($prop >= $thresholds[$i]);
}
last if $reached_all_thresholds;
|