From a1c5d8d92bdfb5487325844aee14a359f33e7158 Mon Sep 17 00:00:00 2001 From: Cameron McCormack Date: Fri, 12 Jul 2013 17:11:30 +1000 Subject: [PATCH] Bug 879659 - Followup for unused variable error. --- content/svg/content/src/SVGPolygonElement.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/content/svg/content/src/SVGPolygonElement.cpp b/content/svg/content/src/SVGPolygonElement.cpp index 69daa2ccc06d..3e3af2903094 100644 --- a/content/svg/content/src/SVGPolygonElement.cpp +++ b/content/svg/content/src/SVGPolygonElement.cpp @@ -46,8 +46,6 @@ SVGPolygonElement::GetMarkPoints(nsTArray *aMarks) nsSVGMark *endMark = &aMarks->LastElement(); nsSVGMark *startMark = &aMarks->ElementAt(0); - gfxFloat xmid = (startMark->x + endMark->x) / 2; - gfxFloat ymid = (startMark->y + endMark->y) / 2; float angle = atan2(startMark->y - endMark->y, startMark->x - endMark->x); endMark->angle = SVGContentUtils::AngleBisect(angle, endMark->angle);