]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/mips/interp.c
sim: mips: fix -Wunused-variable warnings
[thirdparty/binutils-gdb.git] / sim / mips / interp.c
index 18ccef8bb38a8746a4f7822c994ae16b49230ee4..cb650a552483ed3be9fe315b1181e85aaeab41cc 100644 (file)
@@ -400,8 +400,6 @@ sim_open (SIM_OPEN_KIND kind, host_callback *cb,
          /* If we find an entry at address 0, then we will end up
             allocating a new buffer in the "memory alias" command
             below. The region at address 0 will be deleted. */
-         address_word size = (entry->modulo != 0
-                              ? entry->modulo : entry->nr_bytes);
          if (entry->addr == 0
              && (!match || entry->level < match->level))
            match = entry;