mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 776849 - Fix unused variable in nsHistory::Go; r=sicking
This commit is contained in:
parent
25aa1ea61e
commit
0ca8b1f3d9
@ -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…
Reference in New Issue
Block a user