diff --git a/editor/base/nsTextEditRules.cpp b/editor/base/nsTextEditRules.cpp index 2bd459d7eba..44b639ebc1b 100644 --- a/editor/base/nsTextEditRules.cpp +++ b/editor/base/nsTextEditRules.cpp @@ -782,7 +782,7 @@ nsTextEditRules:: DidUndo(nsIDOMSelection *aSelection, nsresult aResult) if (NS_FAILED(res)) return res; if (nodeList) { - PRUint32 len, j; + PRUint32 len; nodeList->GetLength(&len); if (len != 1) return NS_OK; // only in the case of one div could there be the bogus node @@ -840,7 +840,7 @@ nsTextEditRules::DidRedo(nsIDOMSelection *aSelection, nsresult aResult) if (NS_FAILED(res)) return res; if (nodeList) { - PRUint32 len, j; + PRUint32 len; nodeList->GetLength(&len); if (len != 1) return NS_OK; // only in the case of one div could there be the bogus node diff --git a/editor/libeditor/text/nsTextEditRules.cpp b/editor/libeditor/text/nsTextEditRules.cpp index 2bd459d7eba..44b639ebc1b 100644 --- a/editor/libeditor/text/nsTextEditRules.cpp +++ b/editor/libeditor/text/nsTextEditRules.cpp @@ -782,7 +782,7 @@ nsTextEditRules:: DidUndo(nsIDOMSelection *aSelection, nsresult aResult) if (NS_FAILED(res)) return res; if (nodeList) { - PRUint32 len, j; + PRUint32 len; nodeList->GetLength(&len); if (len != 1) return NS_OK; // only in the case of one div could there be the bogus node @@ -840,7 +840,7 @@ nsTextEditRules::DidRedo(nsIDOMSelection *aSelection, nsresult aResult) if (NS_FAILED(res)) return res; if (nodeList) { - PRUint32 len, j; + PRUint32 len; nodeList->GetLength(&len); if (len != 1) return NS_OK; // only in the case of one div could there be the bogus node