aboutsummaryrefslogtreecommitdiff
path: root/sim/common/sim-io.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common/sim-io.c')
-rw-r--r--sim/common/sim-io.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sim/common/sim-io.c b/sim/common/sim-io.c
index cea418f..994d30f 100644
--- a/sim/common/sim-io.c
+++ b/sim/common/sim-io.c
@@ -306,7 +306,6 @@ sim_io_getstring(SIM_DESC sd,
address_word target_string)
{
int len = 0;
- int len2;
char *buf;
while (sim_core_read_1 (cpu, cia, sim_core_read_map, target_string+len) != 0)
@@ -335,7 +334,6 @@ sim_io_syscalls(SIM_DESC sd,
int ret;
char *buf;
int fd;
- int sys_errno = 0;
*errno_return = 0;
*syscall_return = 0;