mirror of https://github.com/AxioDL/tinyxml2.git
CodeReview Fix: The initializer syntax isn't used. Should be 'int unusedLineNum = 0`
This commit is contained in:
parent
4f756161d0
commit
e3d44159e3
|
@ -238,7 +238,7 @@ void StrPair::CollapseWhitespace()
|
|||
// Adjusting _start would cause undefined behavior on delete[]
|
||||
TIXMLASSERT( ( _flags & NEEDS_DELETE ) == 0 );
|
||||
// Trim leading space.
|
||||
int unusedLineNum(0);
|
||||
int unusedLineNum = 0;
|
||||
_start = XMLUtil::SkipWhiteSpace( _start, &unusedLineNum );
|
||||
|
||||
if ( *_start ) {
|
||||
|
|
Loading…
Reference in New Issue