https://git.reactos.org/?p=reactos.git;a=commitdiff;h=bb5f8cfccb4a716edc2ab6...
commit bb5f8cfccb4a716edc2ab6e723b95693ec53f2a1 Author: EUPHORIA-IT\m.jansen m.jansen@euphoria-it.nl AuthorDate: Sun Aug 19 16:13:55 2018 +0200 Commit: EUPHORIA-IT\m.jansen m.jansen@euphoria-it.nl CommitDate: Sun Aug 19 16:14:08 2018 +0200
[WSHOM.OCX] Zero-initialize timeout and type if they are not set. This should fix buildbot timeouts --- dll/win32/wshom.ocx/shell.c | 12 ++++++++++++ 1 file changed, 12 insertions(+)
diff --git a/dll/win32/wshom.ocx/shell.c b/dll/win32/wshom.ocx/shell.c index 1aa353a17a..42310e2a7e 100644 --- a/dll/win32/wshom.ocx/shell.c +++ b/dll/win32/wshom.ocx/shell.c @@ -1316,6 +1316,12 @@ static HRESULT WINAPI WshShell3_Popup(IWshShell3 *iface, BSTR text, VARIANT *sec if (FAILED(hr)) return hr; } +#ifdef __REACTOS__ + else + { + VariantChangeType(&timeout, &timeout, 0, VT_I4); + } +#endif
VariantInit(¶m.type); if (!is_optional_argument(type)) @@ -1324,6 +1330,12 @@ static HRESULT WINAPI WshShell3_Popup(IWshShell3 *iface, BSTR text, VARIANT *sec if (FAILED(hr)) return hr; } +#ifdef __REACTOS__ + else + { + VariantChangeType(¶m.type, ¶m.type, 0, VT_I4); + } +#endif
if (is_optional_argument(title)) param.title = *title;