From: Alan Cox Date: Tue, 30 Dec 2014 19:03:27 +0000 (+0000) Subject: execve: fix build with CP/M emulator enabled X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=603c0c35812e6854f49ee4294fce9000bcde52e2;p=FUZIX.git execve: fix build with CP/M emulator enabled --- diff --git a/Kernel/syscall_exec.c b/Kernel/syscall_exec.c index 62bbc7b1..d0b5f59d 100644 --- a/Kernel/syscall_exec.c +++ b/Kernel/syscall_exec.c @@ -60,7 +60,7 @@ int16_t _execve(void) staticfast struct s_argblk *abuf, *ebuf; int16_t (**sigp) (); int argc; - uint16_t emu_size, emu_copy, progptr; + uint16_t emu_size, progptr; uint16_t emu_ptr, emu_base; staticfast uint16_t top; uint8_t c; @@ -136,7 +136,6 @@ int16_t _execve(void) top = ramtop; #else emu_size; - emu_copy; emu_ptr; udata.u_error = ENOEXEC; goto nogood2;