gdi32/tests: Make sure to use return value (LLVM/Clang).

This commit is contained in:
Austin English 2011-02-08 16:06:02 -08:00 committed by Alexandre Julliard
parent 8b305ccbd3
commit b667582a71
1 changed files with 1 additions and 0 deletions

View File

@ -89,6 +89,7 @@ static void test_widenpath(void)
Polyline(hdc, pnt, 6);
EndPath(hdc);
ret = WidenPath(hdc);
ok(ret == TRUE, "WidenPath failed: %d", GetLastError());
nSize = GetPath(hdc, NULL, NULL, 0);
ok(nSize > 6, "WidenPath should compute a widdened path with a 1px wide pen. Path length is %d, should be more than 6\n", nSize);