From 4a79345d919e9ef41b79755afd32919f70675bf6 Mon Sep 17 00:00:00 2001 From: Andrew Talbot Date: Sat, 24 Nov 2012 21:09:35 +0000 Subject: [PATCH] imagehlp: Remove unused variable. --- dlls/imagehlp/access.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/dlls/imagehlp/access.c b/dlls/imagehlp/access.c index cf19e6c90cd..9e1f1875d68 100644 --- a/dlls/imagehlp/access.c +++ b/dlls/imagehlp/access.c @@ -35,7 +35,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(imagehlp); */ static PLOADED_IMAGE IMAGEHLP_pFirstLoadedImage=NULL; -static PLOADED_IMAGE IMAGEHLP_pLastLoadedImage=NULL; static LOADED_IMAGE IMAGEHLP_EmptyLoadedImage = { NULL, /* ModuleName */ @@ -136,9 +135,6 @@ BOOL WINAPI ImageUnload(PLOADED_IMAGE pLoadedImage) if(pCurrent->Flink) pCurrent->Flink->Blink = pCurrent->Blink; - else - IMAGEHLP_pLastLoadedImage = pCurrent->Blink?CONTAINING_RECORD( - pCurrent->Blink, LOADED_IMAGE, Links):NULL; return FALSE; }