bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-apl] Incorrect symbol count returned in StateIndicator::show_owners


From: Elias Mårtenson
Subject: [Bug-apl] Incorrect symbol count returned in StateIndicator::show_owners
Date: Tue, 14 Jan 2014 16:49:22 +0800

In StateIndicator.cc, line 520 the following code can be found:

char cc[100];
   snprintf(cc, sizeof(cc), "    SI[%d] ", level);
   count += executable->show_owners(cc, out, value);

   snprintf(cc, sizeof(cc), "    SI[%d] ", level);
   current_stack.show_owners(cc, out, value);

   return count;

I believe that the marked line should be prefixed by count +=.

Regards,
Elias

reply via email to

[Prev in Thread] Current Thread [Next in Thread]