riched20: Fix potentially uninitialized variable compiler warnings.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2020-06-08 14:17:29 +02:00
parent 69952b6fab
commit 0c5ebf4231
1 changed files with 2 additions and 0 deletions

View File

@ -1143,6 +1143,8 @@ static HRESULT insert_static_object(ME_TextEditor *editor, HENHMETAFILE hemf, HB
stgm.u.hBitmap = hbmp;
fm.cfFormat = CF_BITMAP;
}
else return E_FAIL;
stgm.pUnkForRelease = NULL;
fm.ptd = NULL;