Author: cwittich Date: Sun Oct 19 21:57:29 2014 New Revision: 64837
URL: http://svn.reactos.org/svn/reactos?rev=64837&view=rev Log: [videoprt] fix uninitialized variable usage in error case
Modified: trunk/reactos/win32ss/drivers/videoprt/registry.c
Modified: trunk/reactos/win32ss/drivers/videoprt/registry.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/drivers/videoprt/re... ============================================================================== --- trunk/reactos/win32ss/drivers/videoprt/registry.c [iso-8859-1] (original) +++ trunk/reactos/win32ss/drivers/videoprt/registry.c [iso-8859-1] Sun Oct 19 21:57:29 2014 @@ -59,7 +59,7 @@ if (InfoBuffer == NULL) { ERR_(VIDEOPRT, "Could not allocate buffer for key info\n"); - return Status; + return STATUS_INSUFFICIENT_RESOURCES; } }