mirror of
https://github.com/reactos/wine.git
synced 2025-04-03 00:21:39 +00:00
twain_32: Avoid using an uninitialized variable in the failure path in path in a couple of cases.
This commit is contained in:
parent
d4db09d0e9
commit
fc324d97bc
@ -71,6 +71,8 @@ static BOOL get_onevalue(TW_HANDLE hcontainer, TW_UINT32 *ret, TW_UINT16 *type)
|
||||
GlobalUnlock(hcontainer);
|
||||
return TRUE;
|
||||
}
|
||||
else
|
||||
*ret = 0;
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user