[videoprt]

fix uninitialized variable usage in error case

svn path=/trunk/; revision=64837
This commit is contained in:
Christoph von Wittich 2014-10-19 21:57:29 +00:00
parent b70df35327
commit d0697e4b3d

View file

@ -59,7 +59,7 @@ IntCopyRegistryKey(
if (InfoBuffer == NULL)
{
ERR_(VIDEOPRT, "Could not allocate buffer for key info\n");
return Status;
return STATUS_INSUFFICIENT_RESOURCES;
}
}