Commit e3709b0c authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

gdiplus: Remove unused variable.

parent 93668319
......@@ -629,7 +629,6 @@ GpStatus WINGDIPAPI GdipSetPenDashArray(GpPen *pen, GDIPCONST REAL *dash,
INT count)
{
INT i;
REAL sum = 0;
TRACE("(%p, %p, %d)\n", pen, dash, count);
......@@ -640,7 +639,6 @@ GpStatus WINGDIPAPI GdipSetPenDashArray(GpPen *pen, GDIPCONST REAL *dash,
return OutOfMemory;
for(i = 0; i < count; i++){
sum += dash[i];
if(dash[i] <= 0.0)
return InvalidParameter;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment