From d42bfcbf4e0e2fa972ca6562d14f19aa9e1bde86 Mon Sep 17 00:00:00 2001 From: Wiz <95232096+GameCubeGBA@users.noreply.github.com> Date: Tue, 5 Jul 2022 10:59:31 -0400 Subject: [PATCH] Remove unused File field. --- .../dmg/java/mobiledevices/dmg/ghidra/GRandomAccessFile.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/GPL/DMG/src/dmg/java/mobiledevices/dmg/ghidra/GRandomAccessFile.java b/GPL/DMG/src/dmg/java/mobiledevices/dmg/ghidra/GRandomAccessFile.java index 0cb5a84bc0..2c2b80f16c 100644 --- a/GPL/DMG/src/dmg/java/mobiledevices/dmg/ghidra/GRandomAccessFile.java +++ b/GPL/DMG/src/dmg/java/mobiledevices/dmg/ghidra/GRandomAccessFile.java @@ -17,7 +17,6 @@ public class GRandomAccessFile { private static final byte[] EMPTY = new byte[0]; private static final int BUFFER_SIZE = 0x100000; - private File file; private RandomAccessFile randomAccessFile; private byte[] buffer = EMPTY; private long bufferOffset = 0; @@ -77,7 +76,6 @@ public class GRandomAccessFile { * while opening or creating the file */ public GRandomAccessFile(File file, String mode) throws IOException { - this.file = file; randomAccessFile = new RandomAccessFile(file, mode); this.open = true; }