File tree Expand file tree Collapse file tree
win32ss/gdi/gdi32/objects Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -299,7 +299,6 @@ PolyBezierTo(
299299 if (apt [0 ].x == apt [1 ].x && apt [1 ].x == apt [2 ].x &&
300300 apt [0 ].y == apt [1 ].y && apt [1 ].y == apt [2 ].y )
301301 {
302- POINT pt1 = { 0 , 0 }; // Current Position
303302 /* If all points are equal and they equal the start point,
304303 * then we can just return TRUE as an optimization. */
305304 if (GetCurrentPositionEx (hdc , & pt1 ) &&
@@ -315,7 +314,6 @@ PolyBezierTo(
315314
316315 /* Following based on Wine 10.0 nulldrv_PolyBezierTo function */
317316 POINT * pts = HeapAlloc (GetProcessHeap (), 0 , (cpt + 1 ) * sizeof (* apt ));
318-
319317 if (!pts )
320318 {
321319 SetLastError (ERROR_NOT_ENOUGH_MEMORY );
@@ -410,7 +408,6 @@ PolylineTo(
410408
411409 /* Following based on Wine 10.0 nulldrv_PolylineTo function */
412410 POINT * pts = HeapAlloc (GetProcessHeap (), 0 , (cpt + 1 ) * sizeof (* apt ));
413-
414411 if (!pts )
415412 {
416413 SetLastError (ERROR_NOT_ENOUGH_MEMORY );
You can’t perform that action at this time.
0 commit comments