Some changes to make CppCheck happier.

This commit is contained in:
lotodore
2010-10-26 21:32:39 +00:00
parent 74a96a4354
commit 83da8559a4
9 changed files with 11 additions and 11 deletions
+2 -3
View File
@@ -340,8 +340,7 @@ void ConfigFile::fillBuffer() {
boost::recursive_mutex::scoped_lock lock(m_configMutex);
size_t i;
string tempString1("");
string tempString1("");
string tempString2("");
TiXmlDocument doc(configFileName);
@@ -349,7 +348,7 @@ void ConfigFile::fillBuffer() {
if(doc.LoadFile()) {
TiXmlHandle docHandle( &doc );
for (i=0; i<configBufferList.size(); i++) {
for (size_t i=0; i<configBufferList.size(); i++) {
TiXmlElement* conf = docHandle.FirstChild( "PokerTH" ).FirstChild( "Configuration" ).FirstChild( configList[i].name ).ToElement();