mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-25 01:45:33 +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;
|
||||
|
||||
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;
|
||||
|
||||
if(depGenType != null){
|
||||
|
|
Loading…
Add table
Reference in a new issue