[PATCH] gdiplus: assign error return (Coverity)

Marcus Meissner marcus at jet.franken.de
Sun Oct 9 02:24:52 CDT 2016


1373482 Logically dead code

Signed-off-by: Marcus Meissner <marcus at jet.franken.de>
---
 dlls/gdiplus/metafile.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/gdiplus/metafile.c b/dlls/gdiplus/metafile.c
index 9de584c..f9ed14c 100644
--- a/dlls/gdiplus/metafile.c
+++ b/dlls/gdiplus/metafile.c
@@ -1361,7 +1361,7 @@ GpStatus WINGDIPAPI GdipPlayMetafileRecord(GDIPCONST GpMetafile *metafile,
                 return stat;
             }
 
-            GdipBeginContainer2(metafile->playback_graphics, &cont->state);
+            stat = GdipBeginContainer2(metafile->playback_graphics, &cont->state);
 
             if (stat != Ok)
             {
-- 
2.10.0




More information about the wine-patches mailing list