mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-09 09:15:38 +02:00
Fix for the NPE when additional outputs have no extension
This commit is contained in:
parent
f901312dc7
commit
67010572d0
1 changed files with 4 additions and 1 deletions
|
@ -1638,7 +1638,10 @@ public class BuildDescription implements IBuildDescription {
|
||||||
return null;
|
return null;
|
||||||
|
|
||||||
IManagedDependencyCalculator depCalc = null;
|
IManagedDependencyCalculator depCalc = null;
|
||||||
IManagedDependencyGeneratorType depGenType = tool.getDependencyGeneratorForExtension(bRc.getLocation().getFileExtension());
|
String ext = bRc.getLocation().getFileExtension();
|
||||||
|
if(ext == null)
|
||||||
|
ext = ""; //$NON-NLS-1$
|
||||||
|
IManagedDependencyGeneratorType depGenType = tool.getDependencyGeneratorForExtension(ext);
|
||||||
IManagedDependencyGeneratorType depGen = null;
|
IManagedDependencyGeneratorType depGen = null;
|
||||||
|
|
||||||
if(depGenType != null){
|
if(depGenType != null){
|
||||||
|
|
Loading…
Add table
Reference in a new issue