loader: remove mapat from map_so_lib, where it is unused
Austin English
austinenglish at gmail.com
Thu May 27 11:12:34 CDT 2010
--
-Austin
-------------- next part --------------
diff --git a/loader/preloader.c b/loader/preloader.c
index 9f9b083..83a5172 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);
}
More information about the wine-patches
mailing list