** DEBUG ONLY **

Initialize local variables ( were causing problems running parser regression tests )


git-svn-id: svn://10.0.0.236/trunk@124884 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
harishd%netscape.com
2002-07-09 21:32:56 +00:00
parent 9c91f86746
commit f3d30a54d4
2 changed files with 6 additions and 4 deletions

View File

@@ -77,6 +77,7 @@ nsLoggingSink::nsLoggingSink() {
mOutput = 0;
mLevel=-1;
mSink=0;
mParser=0;
}
nsLoggingSink::~nsLoggingSink() {
@@ -340,7 +341,7 @@ nsLoggingSink::AddComment(const nsIParserNode& aNode){
NS_IMETHODIMP
nsLoggingSink::SetTitle(const nsString& aValue) {
char* tmp;
char* tmp = nsnull;
GetNewCString(aValue, &tmp);
WriteTabs(mOutput,++mLevel);
if(tmp) {
@@ -625,7 +626,7 @@ nsLoggingSink::WriteAttributes(const nsIParserNode& aNode) {
PRInt32 lineNo = 0;
dtd->CollectSkippedContent(aNode.GetNodeType(), theString, lineNo);
char* content;
char* content = nsnull;
GetNewCString(theString, &content);
if(content) {
PR_fprintf(mOutput, " <content value=\"");