Commit 36f9248c authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

user32: Initialize hICON to NULL (Coverity).

parent ff12594a
......@@ -258,7 +258,7 @@ static HANDLE STATIC_GetImage( HWND hwnd, WPARAM wParam, DWORD style )
*/
static HICON STATIC_LoadIconA( HINSTANCE hInstance, LPCSTR name, DWORD style )
{
HICON hicon;
HICON hicon = 0;
if (hInstance && ((ULONG_PTR)hInstance >> 16))
{
......@@ -284,7 +284,7 @@ static HICON STATIC_LoadIconA( HINSTANCE hInstance, LPCSTR name, DWORD style )
*/
static HICON STATIC_LoadIconW( HINSTANCE hInstance, LPCWSTR name, DWORD style )
{
HICON hicon;
HICON hicon = 0;
if (hInstance && ((ULONG_PTR)hInstance >> 16))
{
......
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