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

bug 319512: Fixed error in last commit

This commit is contained in:
Andrew Gvozdev 2010-08-22 14:46:37 +00:00
parent 99f4235d7e
commit 6ff2b6838e

View file

@ -174,7 +174,7 @@ public class ManagedBuildGnuToolInfo implements IManagedBuildGnuToolInfo {
Vector<String> myEnumeratedInputs = new Vector<String>(); // Complete list of individual inputs
IInputType[] inTypes = tool.getInputTypes();
if (inTypes != null) {
if (inTypes != null && inTypes.length > 0) {
for (IInputType type : inTypes) {
Vector<String> itCommandInputs = new Vector<String>(); // Inputs for the tool command line for this input-type
Vector<String> itCommandDependencies = new Vector<String>(); // Dependencies for the make rule for this input-type