From df9fda760ec7c27a05ed95a5b21d7d21d6a80a7d Mon Sep 17 00:00:00 2001 From: Austin English Date: Thu, 27 May 2010 11:12:34 -0500 Subject: [PATCH] loader: Remove mapat from map_so_lib, where it is unused. --- loader/preloader.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/loader/preloader.c b/loader/preloader.c index 9f9b0831aa0..83a5172d340 100644 --- a/loader/preloader.c +++ b/loader/preloader.c @@ -778,8 +778,7 @@ static void map_so_lib( const char *name, struct wld_link_map *l) if (zeroend > zeropage) { /* Map the remaining zero pages in from the zero fill FD. */ - caddr_t mapat; - mapat = wld_mmap ((caddr_t) zeropage, zeroend - zeropage, + wld_mmap ((caddr_t) zeropage, zeroend - zeropage, c->prot, MAP_ANON|MAP_PRIVATE|MAP_FIXED, -1, 0); }