mirror of
https://github.com/glest/glest-source.git
synced 2025-08-11 19:04:00 +02:00
code cleanup based on cppcheck results
This commit is contained in:
@@ -44,7 +44,7 @@ Section *Section::getChild(const string &name){
|
||||
void Section::print(FILE *outStream, int tabLevel){
|
||||
|
||||
float percent= (parent==NULL || parent->milisElapsed==0)? 100.0f: 100.0f*milisElapsed/parent->milisElapsed;
|
||||
string pname= parent==NULL? "": parent->getName();
|
||||
//string pname= parent==NULL? "": parent->getName();
|
||||
|
||||
for(int i=0; i<tabLevel; ++i)
|
||||
fprintf(outStream, "\t");
|
||||
|
Reference in New Issue
Block a user