[ntdll] lookup_assembly function should returns STATUS_SUCCESS

Roman Mindalev lists at r000n.net
Wed Mar 11 14:27:09 CDT 2009


Expected result of function is STATUS_SUCCESS if no errors occurred,
but it returned zero in this case
---
 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


--------------030602030106070103030103--



More information about the wine-devel mailing list