mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 14:42:11 +02:00
Fix potential null pointer use
This commit is contained in:
parent
70f1bbd6c4
commit
fff45080d0
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ public class GDBJtagLaunchConfigurationDelegate extends AbstractCLaunchDelegate
|
|||
Process process = targets[i].getProcess();
|
||||
IProcess iprocess = null;
|
||||
if ( process != null ) {
|
||||
iprocess = DebugPlugin.newProcess(launch, process, renderProcessLabel(exePath.toOSString()),
|
||||
iprocess = DebugPlugin.newProcess(launch, process, renderProcessLabel(exePath != null ? exePath.toOSString() : "???"),
|
||||
getDefaultProcessMap() );
|
||||
}
|
||||
CDIDebugModel.newDebugTarget(launch, project.getProject(), targets[i],
|
||||
|
|
Loading…
Add table
Reference in a new issue