commit | e3d44159e3c5e5222d0a202b39f6a9f5552a43e3 | [log] [tgz] |
---|---|---|
author | kezenator <github@kezenator.com> | Tue Nov 29 19:47:55 2016 +1000 |
committer | kezenator <github@kezenator.com> | Tue Nov 29 19:47:55 2016 +1000 |
tree | 1fa1316bb48591b8bb24bbf8c0c960c88137aca1 | |
parent | 4f756161d0d30cbe36631af9e5a18fcfd75c6084 [diff] [blame] |
CodeReview Fix: The initializer syntax isn't used. Should be 'int unusedLineNum = 0`
diff --git a/tinyxml2.cpp b/tinyxml2.cpp index 523ccf4..d6f3678 100755 --- a/tinyxml2.cpp +++ b/tinyxml2.cpp
@@ -238,7 +238,7 @@ // 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 ) {