Bug 1075093 - Build error in txStylesheet.cpp when enabling PR_LOGGING in non-debug builds. r=froydnj

This commit is contained in:
Eric Rahm 2014-09-30 15:11:22 -07:00
parent 1aebc79688
commit fd4944d360

View File

@ -128,7 +128,7 @@ txStylesheet::findTemplate(const txXPathNode& aNode,
endFrame = aImportedBy->mFirstNotImported;
}
#ifdef PR_LOGGING
#if defined(PR_LOGGING) && defined(TX_TO_STRING)
txPattern* match = 0;
#endif
@ -149,7 +149,7 @@ txStylesheet::findTemplate(const txXPathNode& aNode,
if (templ.mMatch->matches(aNode, aContext)) {
matchTemplate = templ.mFirstInstruction;
*aImportFrame = frame;
#ifdef PR_LOGGING
#if defined(PR_LOGGING) && defined(TX_TO_STRING)
match = templ.mMatch;
#endif
}