GP-1042 corrected source type for return-param

This commit is contained in:
ghidra1 2021-07-02 09:03:55 -04:00
parent 597a66cd11
commit 64d5090d54

View file

@ -169,8 +169,10 @@ public class ReturnParameterDB extends ParameterDB {
@Override
public SourceType getSource() {
// VARDO: What source-type should be used ?
return function.getSymbol().getSource();
if (dataType == null || Undefined.isUndefined(dataType)) {
return SourceType.DEFAULT;
}
return function.getSignatureSource();
}
@Override