From 9d797edcb6c13d1664fcfaabe181f4119b9c436e Mon Sep 17 00:00:00 2001 From: lotodore Date: Sat, 29 Sep 2007 09:38:52 +0000 Subject: [PATCH] Fixed compiler warnings. --- src/config/configfile.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config/configfile.cpp b/src/config/configfile.cpp index 432e12ba..0af69c59 100644 --- a/src/config/configfile.cpp +++ b/src/config/configfile.cpp @@ -318,7 +318,7 @@ void ConfigFile::fillBuffer() { TiXmlElement* confList = docHandle.FirstChild( "PokerTH" ).FirstChild( "Configuration" ).FirstChild( configList[i].name ).FirstChild().ToElement(); - for( confList; confList; confList=confList->NextSiblingElement()) { + for( ; confList; confList=confList->NextSiblingElement()) { tempStringList2.push_back(confList->Attribute("value")); } @@ -484,7 +484,7 @@ void ConfigFile::updateConfig(ConfigState myConfigState) { TiXmlElement* oldConfList = oldDocHandle.FirstChild( "PokerTH" ).FirstChild( "Configuration" ).FirstChild( configList[i].name ).FirstChild().ToElement(); - for( oldConfList; oldConfList; oldConfList=oldConfList->NextSiblingElement()) { + for( ; oldConfList; oldConfList=oldConfList->NextSiblingElement()) { tempStringList2.push_back(oldConfList->Attribute("value")); }