mirror of
https://github.com/AxioDL/tinyxml2.git
synced 2025-05-14 19:31:23 +00:00
minor formatting cleanup
This commit is contained in:
parent
148cc1a0a5
commit
3ccb1cec29
@ -2298,8 +2298,7 @@ bool XMLPrinter::VisitEnter( const XMLDocument& doc )
|
||||
bool XMLPrinter::VisitEnter( const XMLElement& element, const XMLAttribute* attribute )
|
||||
{
|
||||
const XMLElement* parentElem = NULL;
|
||||
if ( element.Parent() )
|
||||
{
|
||||
if ( element.Parent() ) {
|
||||
parentElem = element.Parent()->ToElement();
|
||||
}
|
||||
bool compactMode = parentElem ? CompactMode(*parentElem) : _compactMode;
|
||||
|
Loading…
x
Reference in New Issue
Block a user