mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 14:42:11 +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) {
|
||||
requestMonitor.setStatus(new Status(IStatus.ERROR, Activator.PLUGIN_ID, -1, "Cannot obtain control service", null)); //$NON-NLS-1$
|
||||
}
|
||||
|
||||
fCommandFactory = fCommandControl.getCommandFactory();
|
||||
else {
|
||||
fCommandFactory = fCommandControl.getCommandFactory();
|
||||
}
|
||||
|
||||
requestMonitor.done();
|
||||
}},
|
||||
|
|
Loading…
Add table
Reference in a new issue