mirror of
https://github.com/reactos/wine.git
synced 2025-04-11 12:32:16 +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);
|
GlobalUnlock(hcontainer);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
*ret = 0;
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user