From c5cd7a964ee689389316aada71a42095c68b74de Mon Sep 17 00:00:00 2001 From: "timeless%mozdev.org" Date: Thu, 18 Aug 2005 11:16:46 +0000 Subject: [PATCH] Bug 206166 Unused variable `PRInt32 cnt' in nsSHistory::CompareFrames r=radha sr=rbs git-svn-id: svn://10.0.0.236/trunk@178128 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/docshell/shistory/src/nsSHistory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/docshell/shistory/src/nsSHistory.cpp b/mozilla/docshell/shistory/src/nsSHistory.cpp index 836959ba8bd..ca39a22120e 100644 --- a/mozilla/docshell/shistory/src/nsSHistory.cpp +++ b/mozilla/docshell/shistory/src/nsSHistory.cpp @@ -762,7 +762,7 @@ nsSHistory::CompareFrames(nsISHEntry * aPrevEntry, nsISHEntry * aNextEntry, nsID } /* The root entries are the same, so compare any child frames */ - PRInt32 cnt=0, pcnt=0, ncnt=0, dsCount=0; + PRInt32 pcnt=0, ncnt=0, dsCount=0; nsCOMPtr prevContainer(do_QueryInterface(aPrevEntry)); nsCOMPtr nextContainer(do_QueryInterface(aNextEntry)); nsCOMPtr dsTreeNode(do_QueryInterface(aParent));