>From c59dbc8de90398c03e7cc44124a5902b1b2d8fc7 Mon Sep 17 00:00:00 2001
From: Roman Mindalev <li...@r000n.net>
Date: Wed, 11 Mar 2009 22:27:09 +0300
Subject: [ntdll] lookup_assembly function should returns STATUS_SUCCESS

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



Reply via email to