mirror of
https://github.com/reactos/reactos.git
synced 2025-04-04 20:50:41 +00:00
[WINESYNC] msi: Avoid returning an uninitialized variable.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Hans Leidekker <hans@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org> wine commit id 859f455cb95a37e11f1187731be530fc9b48da8a by Zebediah Figura <z.figura12@gmail.com>
This commit is contained in:
parent
4253f35129
commit
8c04add139
1 changed files with 1 additions and 1 deletions
|
@ -1059,7 +1059,7 @@ UINT copy_remote_record(const struct wire_record *in, MSIHANDLE out)
|
|||
{
|
||||
MSIRECORD *rec;
|
||||
unsigned int i;
|
||||
UINT r;
|
||||
UINT r = ERROR_SUCCESS;
|
||||
|
||||
if (!(rec = msihandle2msiinfo(out, MSIHANDLETYPE_RECORD)))
|
||||
return ERROR_INVALID_HANDLE;
|
||||
|
|
Loading…
Reference in a new issue