diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/pcode/PcodeDataTypeManager.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/pcode/PcodeDataTypeManager.java index d75023a482..8a8bd055f2 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/pcode/PcodeDataTypeManager.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/pcode/PcodeDataTypeManager.java @@ -261,10 +261,7 @@ public class PcodeDataTypeManager { if (type instanceof Array) { return buildType(type, size); } - if (type instanceof FunctionDefinition) { - return buildType(type, size); - } - if (type.getLength() <= 0) { + if (!(type instanceof FunctionDefinition) && type.getLength() <= 0) { return buildType(type, size); } StringBuilder resBuf = new StringBuilder(); @@ -541,7 +538,7 @@ public class PcodeDataTypeManager { } resBuf.append("