From aefc8f79e7def20432c4f97a7ad82ae72a8a42f8 Mon Sep 17 00:00:00 2001 From: Hartmut Birr Date: Tue, 15 Jun 2004 08:17:23 +0000 Subject: [PATCH] - Initialized the variable status to get on success a proper return value. svn path=/trunk/; revision=9670 --- reactos/lib/ntdll/ldr/utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/lib/ntdll/ldr/utils.c b/reactos/lib/ntdll/ldr/utils.c index 5ae83c8c3f9..acaba6fc7f6 100644 --- a/reactos/lib/ntdll/ldr/utils.c +++ b/reactos/lib/ntdll/ldr/utils.c @@ -1,4 +1,4 @@ -/* $Id: utils.c,v 1.88 2004/06/13 10:35:52 navaraf Exp $ +/* $Id: utils.c,v 1.89 2004/06/15 08:17:23 hbirr Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -2530,7 +2530,7 @@ LdrpAttachProcess(VOID) PLIST_ENTRY Entry; PLDR_MODULE Module; BOOL Result; - NTSTATUS Status; + NTSTATUS Status = STATUS_SUCCESS; DPRINT("LdrpAttachProcess() called for %wZ\n", &ExeModule->BaseDllName);