mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 17:56:01 +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());
|
contexts.addAll(ctx.getChildren());
|
||||||
if (contexts.isEmpty()) {
|
ctx= contexts.pollFirst();
|
||||||
ctx= null;
|
|
||||||
} else {
|
|
||||||
ctx= contexts.removeFirst();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (ctx != null) {
|
if (ctx != null) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue