From 41b63f94b4d8da778453a346ecf8b1d74ed996e0 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 18 Jul 1999 03:01:29 +0000 Subject: 1999-07-17 Roland McGrath * exec.c (servercopy): Removed unused variable. --- exec/exec.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'exec/exec.c') diff --git a/exec/exec.c b/exec/exec.c index ef6c2b69..02ca43f8 100644 --- a/exec/exec.c +++ b/exec/exec.c @@ -1145,7 +1145,6 @@ servercopy (void **arg, mach_msg_type_number_t argsize, boolean_t argcopy) if (argcopy) { /* ARG came in-line, so we must copy it. */ - error_t error; void *copy; copy = mmap (0, argsize, PROT_READ|PROT_WRITE, MAP_ANON, 0, 0); if (copy == (void *) -1) @@ -1763,7 +1762,7 @@ do_exec (file_t file, SIGTRAP signal. Don't bother to check for errors from the RPC here; for non-secure execs PROC may be the user's own proc server its confusion shouldn't make the exec fail. */ - proc_mark_stop (proc, SIGTRAP, 0); + proc_mark_stop (proc, SIGTRAP, 0); } if (boot) -- cgit v1.2.3