Fix compiler warning

pull/89/head
Tatsuhiro Tsujikawa 2013-05-06 19:23:17 +09:00
parent 5bc5665c6a
commit 512f87f4ff
1 changed files with 0 additions and 2 deletions

View File

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