Commit c2c0bec0 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

shell32: Don't pass an unitialized size to RegGetValue().

parent a6b40624
......@@ -3315,7 +3315,8 @@ static HRESULT WINAPI knownfolder_GetCategory(
{
struct knownfolder *knownfolder = impl_from_IKnownFolder(iface);
HRESULT hr = S_OK;
DWORD dwSize, dwType;
DWORD dwSize = sizeof(DWORD);
DWORD dwType;
TRACE("%p, %p\n", knownfolder, pCategory);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment