From 0ca8b1f3d99f9356cb2fc17924ae99e6e8ffbe26 Mon Sep 17 00:00:00 2001 From: Aryeh Gregor Date: Fri, 27 Jul 2012 17:03:28 +0300 Subject: [PATCH] Bug 776849 - Fix unused variable in nsHistory::Go; r=sicking --- dom/base/nsHistory.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dom/base/nsHistory.cpp b/dom/base/nsHistory.cpp index 7ad96b2ce2c..fd6fb4c53e0 100644 --- a/dom/base/nsHistory.cpp +++ b/dom/base/nsHistory.cpp @@ -239,8 +239,8 @@ nsHistory::Go(PRInt32 aDelta) PRInt32 curIndex=-1; PRInt32 len = 0; - nsresult rv = session_history->GetIndex(&curIndex); - rv = session_history->GetCount(&len); + session_history->GetIndex(&curIndex); + session_history->GetCount(&len); PRInt32 index = curIndex + aDelta; if (index > -1 && index < len)