Fix compiler warning

This commit is contained in:
Tatsuhiro Tsujikawa 2013-05-06 19:23:17 +09:00
parent 5bc5665c6a
commit 512f87f4ff

View File

@ -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);
}
{