public final void removeInput(int slot) {
		if (input.length == 1) {
			input = null;
			return;
		}
		Varnode[] newinput = new Varnode[input.length - 1];
		for (int i = 0; i < slot; ++i) {
			newinput[i] = input[i];
		}
		for (int i = slot; i < newinput.length; ++i) {
			newinput[i] = input[i + 1];
		}
		input = newinput;
	}
Remove a varnode at the given slot from the list of input varnodes

@param slot index of input varnode to remove
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/pcode/PcodeOp.java