https://git.reactos.org/?p=reactos.git;a=commitdiff;h=8c04add139d9279889c4a2bc5f9002d36c4b3bf4
commit 8c04add139d9279889c4a2bc5f9002d36c4b3bf4 Author: winesync <[email protected]> AuthorDate: Sat Mar 12 15:12:00 2022 +0100 Commit: Mark Jansen <[email protected]> CommitDate: Sun Mar 20 19:27:39 2022 +0100 [WINESYNC] msi: Avoid returning an uninitialized variable. Signed-off-by: Zebediah Figura <[email protected]> Signed-off-by: Hans Leidekker <[email protected]> Signed-off-by: Alexandre Julliard <[email protected]> wine commit id 859f455cb95a37e11f1187731be530fc9b48da8a by Zebediah Figura <[email protected]> --- dll/win32/msi/record.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dll/win32/msi/record.c b/dll/win32/msi/record.c index 58040468993..a7d55888a9d 100644 --- a/dll/win32/msi/record.c +++ b/dll/win32/msi/record.c @@ -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;
