Skip to content

Commit acb16be

Browse files
committed
Changes based on reviewer comments.
1 parent b75c8c5 commit acb16be

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

win32ss/gdi/gdi32/objects/painting.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff 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);

0 commit comments

Comments
 (0)