* sim-io.c (sim_io_getstring): Delete unused len2. (sim_io_syscalls):
Ditto for sys_errno.
This commit is contained in:
parent
4ccd975a92
commit
3885125c8e
2 changed files with 5 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Wed Nov 26 12:32:11 1997 Andrew Cagney <cagney@b1.cygnus.com>
|
||||||
|
|
||||||
|
* sim-io.c (sim_io_getstring): Delete unused len2.
|
||||||
|
(sim_io_syscalls): Ditto for sys_errno.
|
||||||
|
|
||||||
Wed Nov 26 11:18:40 1997 Doug Evans <devans@canuck.cygnus.com>
|
Wed Nov 26 11:18:40 1997 Doug Evans <devans@canuck.cygnus.com>
|
||||||
|
|
||||||
* syscall.c (cb_syscall): Test CB_SYSCALL struct magic number.
|
* syscall.c (cb_syscall): Test CB_SYSCALL struct magic number.
|
||||||
|
|
|
@ -306,7 +306,6 @@ sim_io_getstring(SIM_DESC sd,
|
||||||
address_word target_string)
|
address_word target_string)
|
||||||
{
|
{
|
||||||
int len = 0;
|
int len = 0;
|
||||||
int len2;
|
|
||||||
char *buf;
|
char *buf;
|
||||||
|
|
||||||
while (sim_core_read_1 (cpu, cia, sim_core_read_map, target_string+len) != 0)
|
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;
|
int ret;
|
||||||
char *buf;
|
char *buf;
|
||||||
int fd;
|
int fd;
|
||||||
int sys_errno = 0;
|
|
||||||
|
|
||||||
*errno_return = 0;
|
*errno_return = 0;
|
||||||
*syscall_return = 0;
|
*syscall_return = 0;
|
||||||
|
|
Loading…
Reference in a new issue