From: Maxim Mamontov Date: Wed, 8 Dec 2010 13:25:23 +0000 (+0200) Subject: Убрана несипользуемая переменная в модуле store_mysql X-Git-Tag: 2.407-rc3~317 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/6303b0ef86435d3485965c1f30dc7af3f6b19384?ds=sidebyside Убрана несипользуемая переменная в модуле store_mysql --- diff --git a/projects/stargazer/plugins/store/mysql/mysql_store.cpp b/projects/stargazer/plugins/store/mysql/mysql_store.cpp index f78586fb..fefadd5c 100644 --- a/projects/stargazer/plugins/store/mysql/mysql_store.cpp +++ b/projects/stargazer/plugins/store/mysql/mysql_store.cpp @@ -1774,7 +1774,6 @@ strprintf(&res,"INSERT INTO detailstat_%02d_%4d SET login='%s',"\ endTime.c_str() ); -int retRes; map::const_iterator stIter; stIter = statTree.begin(); @@ -1788,7 +1787,7 @@ while (stIter != statTree.end()) stIter->second.cash ); - if( (retRes = MysqlQuery((res+tempStr).c_str(),sock)) ) + if( MysqlQuery((res+tempStr).c_str(),sock) ) { errorStr = "Couldn't insert data in WriteDetailedStat:\n"; errorStr += mysql_error(sock);