]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/store/firebird/firebird_store_services.cpp
Simplify notifiers.
[stg.git] / projects / stargazer / plugins / store / firebird / firebird_store_services.cpp
index 0056879ed24a45ccbbd37e7ffe55c3b14cba691f..539fcf73d31868d848705cdc86ef92bc93aea9d5 100644 (file)
@@ -41,14 +41,13 @@ STG_LOCKER lock(&mutex);
 IBPP::Transaction tr = IBPP::TransactionFactory(db, IBPP::amRead, til, tlr);
 IBPP::Statement st = IBPP::StatementFactory(db, tr);
 
-std::string name;
-
 try
     {
     tr->Start();
     st->Execute("select name from tb_services");
     while (st->Fetch())
         {
+        std::string name;
         st->Get(1, name);
         servicesList->push_back(name);
         }