Don't report collapsed subtotal if no xacts seen
This commit is contained in:
parent
7b7814d466
commit
4ab50df564
1 changed files with 2 additions and 1 deletions
|
|
@ -280,7 +280,8 @@ namespace {
|
|||
|
||||
void collapse_xacts::report_subtotal()
|
||||
{
|
||||
assert(count >= 1);
|
||||
if (! count)
|
||||
return;
|
||||
|
||||
std::size_t displayed_count = 0;
|
||||
foreach (xact_t * xact, component_xacts) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue