mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 22:52:11 +02:00
Code streamlining.
This commit is contained in:
parent
c03c9ade0e
commit
f2a3ff9a9d
1 changed files with 1 additions and 5 deletions
|
@ -676,11 +676,7 @@ public class LocationMap implements ILocationResolver {
|
|||
}
|
||||
}
|
||||
contexts.addAll(ctx.getChildren());
|
||||
if (contexts.isEmpty()) {
|
||||
ctx= null;
|
||||
} else {
|
||||
ctx= contexts.removeFirst();
|
||||
}
|
||||
ctx= contexts.pollFirst();
|
||||
}
|
||||
}
|
||||
if (ctx != null) {
|
||||
|
|
Loading…
Add table
Reference in a new issue