remove warnings
This commit is contained in:
Родитель
e22a9dc0f0
Коммит
79289daf8f
|
@ -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;
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче