[ntdll] lookup_assembly function returns STATUS_SUCCESS by default

Roman Mindalev lists at r000n.net
Fri Mar 13 12:19:27 CDT 2009


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

diff --git a/dlls/ntdll/actctx.c b/dlls/ntdll/actctx.c
index 9ca8f35..1eb8ef7 100644
--- a/dlls/ntdll/actctx.c
+++ b/dlls/ntdll/actctx.c
@@ -1942,7 +1942,7 @@ static NTSTATUS lookup_assembly(struct actctx_loader* acl,
     static const WCHAR dotDllW[] = {'.','d','l','l',0};
     unsigned int i;
     WCHAR *buffer, *p, *directory;
-    NTSTATUS status;
+    NTSTATUS status = STATUS_SUCCESS;
     UNICODE_STRING nameW;
     HANDLE file;
 
-- 
1.6.2


--------------070304000401040804080603--



More information about the wine-patches mailing list