зеркало из https://github.com/mozilla/pjs.git
warning cleanup
This commit is contained in:
Родитель
19ec219fb7
Коммит
3f0b1d079c
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче