Gerald Pfeifer : gdi32: Remove variable retb which is not really used from test_closefigure.

Alexandre Julliard julliard at winehq.org
Mon Apr 26 13:59:26 CDT 2010


Module: wine
Branch: master
Commit: 6cad49da4bfe0da243b9478b8a84b443bf02db45
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=6cad49da4bfe0da243b9478b8a84b443bf02db45

Author: Gerald Pfeifer <gerald at pfeifer.com>
Date:   Sat Apr 24 16:46:48 2010 +0200

gdi32: Remove variable retb which is not really used from test_closefigure.

---

 dlls/gdi32/tests/path.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/dlls/gdi32/tests/path.c b/dlls/gdi32/tests/path.c
index 66cd039..43f3d62 100644
--- a/dlls/gdi32/tests/path.c
+++ b/dlls/gdi32/tests/path.c
@@ -393,7 +393,6 @@ done:
 }
 
 static void test_closefigure(void) {
-    BOOL retb;
     int nSize, nSizeWitness;
     HDC hdc = GetDC(0);
 
@@ -402,7 +401,7 @@ static void test_closefigure(void) {
     LineTo(hdc, 95,  0);
     LineTo(hdc,  0, 95);
 
-    retb = CloseFigure(hdc);
+    CloseFigure(hdc);
     EndPath(hdc);
     nSize = GetPath(hdc, NULL, NULL, 0);
 




More information about the wine-cvs mailing list