From 6ff2b6838e7e80ce9aa5b685d81f2710296cbd5f Mon Sep 17 00:00:00 2001 From: Andrew Gvozdev Date: Sun, 22 Aug 2010 14:46:37 +0000 Subject: [PATCH] bug 319512: Fixed error in last commit --- .../cdt/managedbuilder/makegen/gnu/ManagedBuildGnuToolInfo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/makegen/gnu/ManagedBuildGnuToolInfo.java b/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/makegen/gnu/ManagedBuildGnuToolInfo.java index 25009d270ac..59337601308 100644 --- a/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/makegen/gnu/ManagedBuildGnuToolInfo.java +++ b/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/makegen/gnu/ManagedBuildGnuToolInfo.java @@ -174,7 +174,7 @@ public class ManagedBuildGnuToolInfo implements IManagedBuildGnuToolInfo { Vector myEnumeratedInputs = new Vector(); // Complete list of individual inputs IInputType[] inTypes = tool.getInputTypes(); - if (inTypes != null) { + if (inTypes != null && inTypes.length > 0) { for (IInputType type : inTypes) { Vector itCommandInputs = new Vector(); // Inputs for the tool command line for this input-type Vector itCommandDependencies = new Vector(); // Dependencies for the make rule for this input-type