summaryrefslogtreecommitdiff
path: root/src/device/oprom/x86emu
diff options
context:
space:
mode:
Diffstat (limited to 'src/device/oprom/x86emu')
-rw-r--r--src/device/oprom/x86emu/debug.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/device/oprom/x86emu/debug.c b/src/device/oprom/x86emu/debug.c
index e7a111b4f2..bc249a996c 100644
--- a/src/device/oprom/x86emu/debug.c
+++ b/src/device/oprom/x86emu/debug.c
@@ -211,9 +211,7 @@ void X86EMU_dump_memory (u16 seg, u16 off, u32 amt)
u32 start = off & 0xfffffff0;
u32 end = (off+16) & 0xfffffff0;
u32 i;
- u32 current;
- current = start;
while (end <= off + amt) {
printf("%04x:%04x ", seg, start);
for (i=start; i< off; i++)
@@ -239,8 +237,6 @@ void x86emu_single_step (void)
static int breakpoint;
static int noDecode = 1;
- char *p;
-
if (DEBUG_BREAK()) {
if (M.x86.saved_ip != breakpoint) {
return;
@@ -256,7 +252,7 @@ void x86emu_single_step (void)
offset = M.x86.saved_ip;
while (!done) {
printf("-");
- p = fgets(s, 1023, stdin);
+ (void)fgets(s, 1023, stdin);
cmd = parse_line(s, ps, &ntok);
switch(cmd) {
case 'u':