private Variable removeMatchingVariable(Variable var, List<Variable> list) {
		int firstUse = var.getFirstUseOffset();
		VariableStorage storage = var.getVariableStorage();
		Iterator<Variable> iter = list.iterator();
		while (iter.hasNext()) {
			Variable v = iter.next();
			if (v == null || (v instanceof Parameter)) {
				continue;
			}
			if (firstUse != v.getFirstUseOffset()) {
				continue;
			}
			if (!storage.equals(v.getVariableStorage())) {
				continue;
			}
			iter.remove();
			return v;
		}
		return null;

	}
Check to see if either var1 or var2 is contained within the conflicted/overlapping
set of variables.  In general, one of the specified variables should be null.
@param var1 a variable which corresponds to function1 at time of construction or null
@param var2 a variable which corresponds to function2 at time of construction or null
@return true if either variable is contained within the conflicted/overlapping
set of variables.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/util/VariableStorageConflicts.java