mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-14 04:03:47 +00:00
Bug 776849 - Fix unused variable in nsHistory::Go; r=sicking
This commit is contained in:
parent
7c1ebce612
commit
0774a86832
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user