diff --git a/Ghidra/Features/Decompiler/ghidra_scripts/ShowConstantUse.java b/Ghidra/Features/Decompiler/ghidra_scripts/ShowConstantUse.java index 7d50f50b5a..adf4e50b64 100644 --- a/Ghidra/Features/Decompiler/ghidra_scripts/ShowConstantUse.java +++ b/Ghidra/Features/Decompiler/ghidra_scripts/ShowConstantUse.java @@ -665,8 +665,7 @@ public class ShowConstantUse extends GhidraScript { // decompile function // look for call to this function // display call - @SuppressWarnings("unchecked") - ArrayList localDefUseList = (ArrayList) defUseList.clone(); + ArrayList localDefUseList = new ArrayList(defUseList); this.monitor.setMessage("Analyzing : " + refFunc.getName() + " for refs to " + addr + ":" + paramIndex);