summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1999-07-18 03:01:29 +0000
committerRoland McGrath <roland@gnu.org>1999-07-18 03:01:29 +0000
commit41b63f94b4d8da778453a346ecf8b1d74ed996e0 (patch)
treec6421da6a247b80f1d4e9335e976ca43e6a88c7b
parent90df84064c3632750279111516a98f6e41a6727e (diff)
1999-07-17 Roland McGrath <roland@baalperazim.frob.com>
* exec.c (servercopy): Removed unused variable.
-rw-r--r--exec/exec.c3
1 files changed, 1 insertions, 2 deletions
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)