riched20: Avoid uninitialized field in STGMEDIUM structure (LLVM/Clang).
Alexandre Julliard
julliard at winehq.org
Tue Jul 17 05:32:05 CDT 2012
Nicolas Le Cam <niko.lecam at gmail.com> writes:
> @@ -1098,6 +1098,8 @@ static BOOL ME_RTFInsertOleObject(RTF_Info *info, HENHMETAFILE hemf, HBITMAP hbm
> BOOL ret = FALSE;
> DWORD conn;
>
> + memset(&stgm, 0, sizeof(stgm));
> +
Please fix the bugs (if any) instead of silencing the warnings by
memsetting everything to 0.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list