#54 Compiler warning: line 1324 of tinyxmlparser.cpp

closed
Lee Thomason
None
5
2006-03-31
2005-12-21
DavidA
No

Affected build: TinyXml 2.4.2

TI's CodeComposer compiler reports the following error:

"tinyxmlparser.cpp", line 1324: warning:
variable "tabsize" was set but never used

It looks to me as though the following lines are
redundant and can be deleted:

1324 int tabsize = 4;
1325 if ( document )
1326 tabsize = document->TabSize();

Discussion

  • Lee Thomason
    Lee Thomason
    2006-03-31

    Logged In: YES
    user_id=95308

    Fixed.

     
  • Lee Thomason
    Lee Thomason
    2006-03-31

    • assigned_to: nobody --> leethomason
    • status: open --> closed