mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-02 13:55:39 +02:00
bug 251962: NPE in GnuMakefileGenerator
This commit is contained in:
parent
0578b35b87
commit
5a61ecb698
1 changed files with 5 additions and 2 deletions
|
@ -4691,8 +4691,11 @@ public class GnuMakefileGenerator implements IManagedBuilderMakefileGenerator2 {
|
||||||
" ", //$NON-NLS-1$
|
" ", //$NON-NLS-1$
|
||||||
IBuildMacroProvider.CONTEXT_CONFIGURATION,
|
IBuildMacroProvider.CONTEXT_CONFIGURATION,
|
||||||
builder);
|
builder);
|
||||||
if((resolved = resolved.trim()).length() > 0)
|
if (resolved!=null) {
|
||||||
|
resolved = resolved.trim();
|
||||||
|
if(resolved.length() > 0)
|
||||||
buildTargetName = resolved;
|
buildTargetName = resolved;
|
||||||
|
}
|
||||||
} catch (BuildMacroException e){
|
} catch (BuildMacroException e){
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue