mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-01 13:25:45 +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$
|
||||
IBuildMacroProvider.CONTEXT_CONFIGURATION,
|
||||
builder);
|
||||
if((resolved = resolved.trim()).length() > 0)
|
||||
buildTargetName = resolved;
|
||||
if (resolved!=null) {
|
||||
resolved = resolved.trim();
|
||||
if(resolved.length() > 0)
|
||||
buildTargetName = resolved;
|
||||
}
|
||||
} catch (BuildMacroException e){
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue