From 1fca6ebc8feedcf59e19bbb61d9ac523de50e558 Mon Sep 17 00:00:00 2001 From: Maschell Date: Sun, 10 Mar 2019 17:31:45 +0100 Subject: [PATCH] Minor code cleanup --- src/main/java/de/mas/ghidra/wiiu/RPXUtils.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/de/mas/ghidra/wiiu/RPXUtils.java b/src/main/java/de/mas/ghidra/wiiu/RPXUtils.java index 760952f..2169c95 100644 --- a/src/main/java/de/mas/ghidra/wiiu/RPXUtils.java +++ b/src/main/java/de/mas/ghidra/wiiu/RPXUtils.java @@ -157,8 +157,7 @@ public class RPXUtils { // Hacky way to fix import relocations if (h.getType() == SHT_RPL_IMPORTS) { - long fixedAddress = 0; - buffer.putInt((int) fixedAddress); + buffer.putInt(0); } else { buffer.putInt((int) h.getAddress()); }