Commit 4d60ab37 authored by Alexandre Julliard's avatar Alexandre Julliard

twain_32: Fix potentially uninitialized variable compiler warnings.

parent 0c5ebf42
......@@ -72,7 +72,10 @@ static BOOL get_onevalue(TW_HANDLE hcontainer, TW_UINT32 *ret, TW_UINT16 *type)
return TRUE;
}
else
{
*ret = 0;
if (type) *type = 0;
}
return FALSE;
}
......
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