Commit f266dc09 authored by Davide Beatrici's avatar Davide Beatrici Committed by Alexandre Julliard

explorer: Fix uninitialized variable warning.

programs/explorer/desktop.c:104:16: warning: ‘hres’ may be used uninitialized in this function [-Wmaybe-uninitialized] 104 | return hres; | ^~~~
parent f898f206
......@@ -98,10 +98,11 @@ static HRESULT get_typeinfo(tid_t tid, ITypeInfo **typeinfo)
{
HRESULT hres;
if (!typelib)
if (!typelib) {
hres = load_typelib();
if (!typelib)
return hres;
if (!typelib)
return hres;
}
if (!typeinfos[tid]) {
ITypeInfo *ti;
......
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