Christian Costa : ntdll: Init retv to FALSE so in case of exception the trace shows the failure.

Alexandre Julliard julliard at winehq.org
Mon Oct 1 13:35:01 CDT 2012


Module: wine
Branch: master
Commit: 49d8b4c039845a84f1995800e5977a9de3c4dbed
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=49d8b4c039845a84f1995800e5977a9de3c4dbed

Author: Christian Costa <titan.costa at gmail.com>
Date:   Sat Sep 29 22:29:11 2012 +0200

ntdll: Init retv to FALSE so in case of exception the trace shows the failure.

---

 dlls/ntdll/loader.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/ntdll/loader.c b/dlls/ntdll/loader.c
index 5dc7911..d00397c 100644
--- a/dlls/ntdll/loader.c
+++ b/dlls/ntdll/loader.c
@@ -994,7 +994,7 @@ static NTSTATUS MODULE_InitDLL( WINE_MODREF *wm, UINT reason, LPVOID lpReserved
     NTSTATUS status = STATUS_SUCCESS;
     DLLENTRYPROC entry = wm->ldr.EntryPoint;
     void *module = wm->ldr.BaseAddress;
-    BOOL retv = TRUE;
+    BOOL retv = FALSE;
 
     /* Skip calls for modules loaded with special load flags */
 




More information about the wine-cvs mailing list