[WIN32SS] Fix returning an uninitialized variable. Patch by Victor Martinez Calvo...
authorMark Jansen <mark.jansen@reactos.org>
Thu, 27 Apr 2017 15:37:08 +0000 (15:37 +0000)
committerMark Jansen <mark.jansen@reactos.org>
Thu, 27 Apr 2017 15:37:08 +0000 (15:37 +0000)
svn path=/trunk/; revision=74420

reactos/win32ss/user/ntuser/hook.c

index 0f1ae60..9cc0f5c 100644 (file)
@@ -324,7 +324,7 @@ co_CallHook( INT HookId,
              WPARAM wParam,
              LPARAM lParam)
 {
-    LRESULT Result;
+    LRESULT Result = 0;
     PHOOK phk;
     PHOOKPACK pHP = (PHOOKPACK)lParam;