From 8f458e96935696980e3ae7cefc0a4889adef9140 Mon Sep 17 00:00:00 2001 From: "slamm%netscape.com" Date: Wed, 15 Sep 1999 19:17:37 +0000 Subject: [PATCH] Fix a couple build warnings. --- layout/xul/base/src/nsSliderFrame.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/layout/xul/base/src/nsSliderFrame.cpp b/layout/xul/base/src/nsSliderFrame.cpp index 04535054df82..59910231543d 100644 --- a/layout/xul/base/src/nsSliderFrame.cpp +++ b/layout/xul/base/src/nsSliderFrame.cpp @@ -77,7 +77,7 @@ NS_NewSliderFrame ( nsIFrame** aNewFrame) } // NS_NewSliderFrame nsSliderFrame::nsSliderFrame() -:mScrollbarListener(nsnull), mCurPos(0) +: mCurPos(0), mScrollbarListener(nsnull) { } @@ -198,8 +198,8 @@ nsSliderFrame::AttributeChanged(nsIPresContext* aPresContext, aPresContext->GetShell(getter_AddRefs(shell)); nsCOMPtr reflowCmd; - nsresult rv = NS_NewHTMLReflowCommand(getter_AddRefs(reflowCmd), this, - nsIReflowCommand::StyleChanged); + rv = NS_NewHTMLReflowCommand(getter_AddRefs(reflowCmd), this, + nsIReflowCommand::StyleChanged); if (NS_SUCCEEDED(rv)) shell->AppendReflowCommand(reflowCmd); }