twain_32: Fix potentially uninitialized variable compiler warnings.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
0c5ebf4231
commit
4d60ab3744
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue