Commit 859f455c authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

msi: Avoid returning an uninitialized variable.

parent d2b0981a
...@@ -1059,7 +1059,7 @@ UINT copy_remote_record(const struct wire_record *in, MSIHANDLE out) ...@@ -1059,7 +1059,7 @@ UINT copy_remote_record(const struct wire_record *in, MSIHANDLE out)
{ {
MSIRECORD *rec; MSIRECORD *rec;
unsigned int i; unsigned int i;
UINT r; UINT r = ERROR_SUCCESS;
if (!(rec = msihandle2msiinfo(out, MSIHANDLETYPE_RECORD))) if (!(rec = msihandle2msiinfo(out, MSIHANDLETYPE_RECORD)))
return ERROR_INVALID_HANDLE; return ERROR_INVALID_HANDLE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment