code cleanup based on cppcheck results

This commit is contained in:
Mark Vejvoda
2013-05-17 05:21:14 +00:00
parent c55b9c3ffe
commit 748763f0f1
11 changed files with 55 additions and 4 deletions

View File

@@ -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");