Minor code cleanup

This commit is contained in:
Maschell 2019-03-10 17:31:45 +01:00
parent 6d487f56c5
commit 1fca6ebc8f

View File

@ -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());
}