Author: mjansen
Date: Thu Apr 27 15:37:08 2017
New Revision: 74420
URL:
http://svn.reactos.org/svn/reactos?rev=74420&view=rev
Log:
[WIN32SS] Fix returning an uninitialized variable. Patch by Victor Martinez Calvo. CID
1341417, CORE-11027 #comment Thanks!
Modified:
trunk/reactos/win32ss/user/ntuser/hook.c
Modified: trunk/reactos/win32ss/user/ntuser/hook.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/ntuser/hook.c…
==============================================================================
--- trunk/reactos/win32ss/user/ntuser/hook.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/ntuser/hook.c [iso-8859-1] Thu Apr 27 15:37:08 2017
@@ -324,7 +324,7 @@
WPARAM wParam,
LPARAM lParam)
{
- LRESULT Result;
+ LRESULT Result = 0;
PHOOK phk;
PHOOKPACK pHP = (PHOOKPACK)lParam;