Browse Source

[trac657] Remove nop operation

Not directly related to the ticket, I just discovered a call that does
nothing (it is called with null pointer and the function checks the
parameter is not null, if it is, it just does nothing).
Michal 'vorner' Vaner 14 years ago
parent
commit
3407184a20
1 changed files with 0 additions and 5 deletions
  1. 0 5
      src/bin/auth/main.cc

+ 0 - 5
src/bin/auth/main.cc

@@ -176,13 +176,8 @@ main(int argc, char* argv[]) {
         auth_server->setXfrinSession(xfrin_session);
         auth_server->setStatisticsSession(statistics_session);
 
-        // Configure the server.  configureAuthServer() is expected to install
-        // all initial configurations, but as a short term workaround we
-        // handle the traditional "database_file" setup by directly calling
-        // updateConfig().
         auth_server->setConfigSession(config_session);
         configureAuthServer(*auth_server, config_session->getFullConfig());
-        auth_server->updateConfig(ElementPtr());
 
         cout << "[b10-auth] Server started." << endl;
         io_service.run();