mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
This commit is contained in:
parent
40d10ad5a5
commit
c7fe5e657a
1 changed files with 1 additions and 1 deletions
|
@ -174,7 +174,7 @@ public class ProjectTargets {
|
|||
|
||||
public void remove(IMakeTarget target) {
|
||||
ArrayList list = (ArrayList) targetMap.get(target.getContainer());
|
||||
if (list != null && !list.contains(target)) {
|
||||
if (list == null || !list.contains(target)) {
|
||||
return;
|
||||
}
|
||||
list.remove(target);
|
||||
|
|
Loading…
Add table
Reference in a new issue