mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-01 06:05:24 +02:00
Fix NPE
This commit is contained in:
parent
4c0d34ec50
commit
4d146140b3
1 changed files with 5 additions and 1 deletions
|
@ -92,7 +92,11 @@ abstract public class AbstractCLaunchDelegate extends LaunchConfigurationDelegat
|
||||||
}
|
}
|
||||||
} catch (CoreException e) {
|
} catch (CoreException e) {
|
||||||
}
|
}
|
||||||
return DebugPlugin.getDefault().getLaunchManager().getEnvironment(config);
|
String[] array = DebugPlugin.getDefault().getLaunchManager().getEnvironment(config);
|
||||||
|
if (array == null) {
|
||||||
|
return new String[0];
|
||||||
|
}
|
||||||
|
return array;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue