mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Bug 311416: Small simplification in logic check.
This commit is contained in:
parent
12eb24805f
commit
14c231b3ca
1 changed files with 2 additions and 2 deletions
|
@ -901,8 +901,8 @@ public class MIStack extends AbstractDsfService
|
|||
// still be re-used.
|
||||
StackDepthInfo cachedDepth = fStackDepthCache.get(execDmc.getThreadId());
|
||||
if (cachedDepth != null) {
|
||||
if ((maxDepth == 0 && cachedDepth.maxDepthRequested == 0) ||
|
||||
(maxDepth != 0 && (cachedDepth.maxDepthRequested == 0 || cachedDepth.maxDepthRequested >= maxDepth)) )
|
||||
if (cachedDepth.maxDepthRequested == 0 ||
|
||||
(maxDepth != 0 && cachedDepth.maxDepthRequested >= maxDepth))
|
||||
{
|
||||
rm.setData(cachedDepth.returnedDepth);
|
||||
rm.done();
|
||||
|
|
Loading…
Add table
Reference in a new issue