зеркало из https://github.com/mozilla/gecko-dev.git
remove warnings
This commit is contained in:
Родитель
0145bb9a12
Коммит
0aeaf8e731
|
@ -185,11 +185,11 @@ public:
|
|||
* @return
|
||||
*/
|
||||
inline PRInt32 IndexOfTagInSet(PRInt32 aTag,const eHTMLTags aTagSet[],PRInt32 aCount) {
|
||||
PRInt32 index;
|
||||
PRInt32 theIndex;
|
||||
|
||||
for(index=0;index<aCount;index++)
|
||||
if(aTag==aTagSet[index]) {
|
||||
return index;
|
||||
for(theIndex=0;theIndex<aCount;theIndex++)
|
||||
if(aTag==aTagSet[theIndex]) {
|
||||
return theIndex;
|
||||
}
|
||||
return kNotFound;
|
||||
}
|
||||
|
|
|
@ -43,6 +43,7 @@
|
|||
#include "nsHTMLTags.h"
|
||||
#include "nsParserError.h"
|
||||
#include "nsString.h"
|
||||
#include <iostream.h>
|
||||
|
||||
class nsScanner;
|
||||
|
||||
|
|
|
@ -37,8 +37,10 @@
|
|||
|
||||
#include "prtypes.h"
|
||||
#include "nsString.h"
|
||||
#include <iostream.h>
|
||||
#include "nsError.h"
|
||||
|
||||
|
||||
class nsScanner;
|
||||
|
||||
|
||||
|
|
|
@ -185,11 +185,11 @@ public:
|
|||
* @return
|
||||
*/
|
||||
inline PRInt32 IndexOfTagInSet(PRInt32 aTag,const eHTMLTags aTagSet[],PRInt32 aCount) {
|
||||
PRInt32 index;
|
||||
PRInt32 theIndex;
|
||||
|
||||
for(index=0;index<aCount;index++)
|
||||
if(aTag==aTagSet[index]) {
|
||||
return index;
|
||||
for(theIndex=0;theIndex<aCount;theIndex++)
|
||||
if(aTag==aTagSet[theIndex]) {
|
||||
return theIndex;
|
||||
}
|
||||
return kNotFound;
|
||||
}
|
||||
|
|
|
@ -43,6 +43,7 @@
|
|||
#include "nsHTMLTags.h"
|
||||
#include "nsParserError.h"
|
||||
#include "nsString.h"
|
||||
#include <iostream.h>
|
||||
|
||||
class nsScanner;
|
||||
|
||||
|
|
|
@ -37,8 +37,10 @@
|
|||
|
||||
#include "prtypes.h"
|
||||
#include "nsString.h"
|
||||
#include <iostream.h>
|
||||
#include "nsError.h"
|
||||
|
||||
|
||||
class nsScanner;
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче