From 7b2992373f2556a53675db690fcf1e06c2fc5092 Mon Sep 17 00:00:00 2001 From: Daniel Holbert Date: Mon, 21 May 2012 13:38:50 -0700 Subject: [PATCH] Bug 757177: Remove unused variables from SVGFragmentIdentifier.cpp. r=longsonr --- content/svg/content/src/SVGFragmentIdentifier.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/content/svg/content/src/SVGFragmentIdentifier.cpp b/content/svg/content/src/SVGFragmentIdentifier.cpp index d21dc9d77d8..3a320a030cc 100644 --- a/content/svg/content/src/SVGFragmentIdentifier.cpp +++ b/content/svg/content/src/SVGFragmentIdentifier.cpp @@ -11,12 +11,6 @@ using namespace mozilla; -static nsSVGEnumMapping sZoomAndPanMap[] = { - {&nsGkAtoms::disable, nsIDOMSVGZoomAndPan::SVG_ZOOMANDPAN_DISABLE}, - {&nsGkAtoms::magnify, nsIDOMSVGZoomAndPan::SVG_ZOOMANDPAN_MAGNIFY}, - {nsnull, 0} -}; - static bool IsMatchingParameter(const nsAString &aString, const nsAString &aParameterName) { @@ -148,7 +142,6 @@ SVGFragmentIdentifier::ProcessSVGViewSpec(const nsAString &aViewSpec, } } - const nsSVGViewBoxRect *oldViewBoxPtr = root->GetViewBoxProperty(); if (viewBoxParams) { SaveOldViewBox(root); root->mViewBox.SetBaseValueString(*viewBoxParams, root); @@ -156,7 +149,6 @@ SVGFragmentIdentifier::ProcessSVGViewSpec(const nsAString &aViewSpec, RestoreOldViewBox(root); } - const SVGPreserveAspectRatio *oldPARPtr = root->GetPreserveAspectRatioProperty(); if (preserveAspectRatioParams) { SaveOldPreserveAspectRatio(root); root->mPreserveAspectRatio.SetBaseValueString(*preserveAspectRatioParams, root); @@ -164,7 +156,6 @@ SVGFragmentIdentifier::ProcessSVGViewSpec(const nsAString &aViewSpec, RestoreOldPreserveAspectRatio(root); } - const PRUint16 *oldZoomAndPanPtr = root->GetZoomAndPanProperty(); if (zoomAndPanParams) { SaveOldZoomAndPan(root); nsCOMPtr valAtom = do_GetAtom(*zoomAndPanParams);