From: Maxim Mamontov Date: Tue, 7 Feb 2012 10:30:07 +0000 (+0200) Subject: Variable scope narrowed X-Git-Tag: 2.408~9 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/99bf49d004d759cde799ceaa52a5b86e18d5362c Variable scope narrowed --- diff --git a/projects/stargazer/plugins/store/mysql/mysql_store.cpp b/projects/stargazer/plugins/store/mysql/mysql_store.cpp index e52c055d..9d8f9c83 100644 --- a/projects/stargazer/plugins/store/mysql/mysql_store.cpp +++ b/projects/stargazer/plugins/store/mysql/mysql_store.cpp @@ -163,11 +163,11 @@ MYSQL_STORE::MYSQL_STORE() //----------------------------------------------------------------------------- int MYSQL_STORE::MysqlQuery(const char* sQuery,MYSQL * sock) const { - int ret,i; + int ret; if( (ret = mysql_query(sock,sQuery)) ) { - for(i=0; i