1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

compilation warnings

This commit is contained in:
Andrew Gvozdev 2010-04-28 18:45:16 +00:00
parent 06e6fa4f96
commit 2c411b4045

View file

@ -94,7 +94,7 @@ public class GCCPerFileBOPConsoleParser extends AbstractGCCBOPConsoleParser {
return false; return false;
} }
// sanity check // sanity check
if (filePath.indexOf(FILE_EXTENSIONS[extensionsIndex]) == -1) { if (filePath==null || filePath.indexOf(FILE_EXTENSIONS[extensionsIndex]) == -1) {
TraceUtil.outputTrace("Error identifying file name :2", tokens, TraceUtil.EOL); //$NON-NLS-1$ TraceUtil.outputTrace("Error identifying file name :2", tokens, TraceUtil.EOL); //$NON-NLS-1$
return false; return false;
} }