From a6d7ccf2090fb2f84f84ba8682791bd7ca5a87ab Mon Sep 17 00:00:00 2001 From: "rods%netscape.com" Date: Tue, 23 Nov 1999 14:21:03 +0000 Subject: [PATCH] removed return variable that wasn't used and its warning r=self git-svn-id: svn://10.0.0.236/trunk@54282 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/forms/nsFormControlHelper.cpp | 2 +- mozilla/layout/html/forms/src/nsFormControlHelper.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/layout/forms/nsFormControlHelper.cpp b/mozilla/layout/forms/nsFormControlHelper.cpp index b78af2d6e25..45a178b49e2 100644 --- a/mozilla/layout/forms/nsFormControlHelper.cpp +++ b/mozilla/layout/forms/nsFormControlHelper.cpp @@ -302,7 +302,7 @@ nsFormControlHelper::CalcNavQuirkSizing(nsIPresContext& aPresContext, } else if (NS_FORM_INPUT_BUTTON == type || NS_FORM_INPUT_SUBMIT == type || NS_FORM_INPUT_RESET == type) { - nscoord charWidth = GetTextSize(aPresContext, aFrame, *aSpec.mColDefaultValue, aSize, aRendContext); + GetTextSize(aPresContext, aFrame, *aSpec.mColDefaultValue, aSize, aRendContext); aSize.width = NSToCoordRound(aSize.width * t2p); aSize.height = NSToCoordRound(aSize.height * t2p); width = 3 * aSize.width / 2; diff --git a/mozilla/layout/html/forms/src/nsFormControlHelper.cpp b/mozilla/layout/html/forms/src/nsFormControlHelper.cpp index b78af2d6e25..45a178b49e2 100644 --- a/mozilla/layout/html/forms/src/nsFormControlHelper.cpp +++ b/mozilla/layout/html/forms/src/nsFormControlHelper.cpp @@ -302,7 +302,7 @@ nsFormControlHelper::CalcNavQuirkSizing(nsIPresContext& aPresContext, } else if (NS_FORM_INPUT_BUTTON == type || NS_FORM_INPUT_SUBMIT == type || NS_FORM_INPUT_RESET == type) { - nscoord charWidth = GetTextSize(aPresContext, aFrame, *aSpec.mColDefaultValue, aSize, aRendContext); + GetTextSize(aPresContext, aFrame, *aSpec.mColDefaultValue, aSize, aRendContext); aSize.width = NSToCoordRound(aSize.width * t2p); aSize.height = NSToCoordRound(aSize.height * t2p); width = 3 * aSize.width / 2;