private void checkModelNameConsistency(Function func) {
		int paramCount = func.getParameterCount();

		String modelName = func.getCallingConventionName();

		if (func.getStackPurgeSize() == 0 && paramCount > 0 &&
			modelName.equals(CompilerSpec.CALLING_CONVENTION_stdcall)) {
			try {
				func.setCallingConvention(CompilerSpec.CALLING_CONVENTION_cdecl);
			}
			catch (InvalidInputException e) {
				setStatusMsg(
					"Unknown calling convention: " + CompilerSpec.CALLING_CONVENTION_cdecl);
			}
		}
	}
Check for consistency of returned results.  Trying to propagate, don't want to propagate garbage.

@param decompRes the decompile result
@return true if inconsistent results
Ghidra/Features/Decompiler/src/main/java/ghidra/app/cmd/function/DecompilerParameterIdCmd.java