diff --git a/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/spawner/Spawner.java b/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/spawner/Spawner.java index e5c1cea5aa6..ad07b7ead4c 100644 --- a/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/spawner/Spawner.java +++ b/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/spawner/Spawner.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2011 QNX Software Systems and others. + * Copyright (c) 2000, 2013 QNX Software Systems and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -61,7 +61,7 @@ public class Spawner extends Process { int pid = 0; int status; - final int[] fChannels = new int[3]; + final int[] fChannels = { -1, -1, -1 }; boolean isDone; OutputStream out; InputStream in; @@ -400,9 +400,6 @@ public class Spawner extends Process { if (pid == -1) { throw new IOException("Exec error"); //$NON-NLS-1$ } - fChannels[0] = -1; - fChannels[1] = -1; - fChannels[2] = -1; } /**