mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-08 02:06:01 +02:00
Avoid NPE (reported by FindBugs)
This commit is contained in:
parent
79a13f0c70
commit
69100108b5
1 changed files with 3 additions and 2 deletions
|
@ -129,8 +129,9 @@ public class GDBJtagDSFFinalLaunchSequence extends Sequence {
|
||||||
if (fCommandControl == null) {
|
if (fCommandControl == null) {
|
||||||
requestMonitor.setStatus(new Status(IStatus.ERROR, Activator.PLUGIN_ID, -1, "Cannot obtain control service", null)); //$NON-NLS-1$
|
requestMonitor.setStatus(new Status(IStatus.ERROR, Activator.PLUGIN_ID, -1, "Cannot obtain control service", null)); //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
fCommandFactory = fCommandControl.getCommandFactory();
|
fCommandFactory = fCommandControl.getCommandFactory();
|
||||||
|
}
|
||||||
|
|
||||||
requestMonitor.done();
|
requestMonitor.done();
|
||||||
}},
|
}},
|
||||||
|
|
Loading…
Add table
Reference in a new issue