Ver código fonte

Fix compiler warning

Tatsuhiro Tsujikawa 12 anos atrás
pai
commit
512f87f4ff
1 arquivos alterados com 0 adições e 2 exclusões
  1. 0 2
      src/OptionHandlerFactory.cc

+ 0 - 2
src/OptionHandlerFactory.cc

@@ -1078,7 +1078,6 @@ std::vector<OptionHandler*> OptionHandlerFactory::createOptionHandlers()
     op->addTag(TAG_HTTP);
     handlers.push_back(op);
   }
-  OptionHandler* splitHandler;
   {
     OptionHandler* op(new NumberOptionHandler
                       (PREF_SPLIT,
@@ -1092,7 +1091,6 @@ std::vector<OptionHandler*> OptionHandlerFactory::createOptionHandlers()
     op->setInitialOption(true);
     op->setChangeGlobalOption(true);
     op->setChangeOptionForReserved(true);
-    splitHandler = op;
     handlers.push_back(op);
   }
   {