From b97b3ec5d51feec0eb4fcc8e42dd46d07d84d07c Mon Sep 17 00:00:00 2001 From: emteere <47253321+emteere@users.noreply.github.com> Date: Fri, 26 May 2023 19:37:58 +0000 Subject: [PATCH] GP-3503 Minor cleanup --- Ghidra/Features/Decompiler/ghidra_scripts/ShowConstantUse.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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);