summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2013-05-06 19:23:17 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2013-05-06 19:23:17 +0900
commit512f87f4ff975790ae21a6abbb802fc20bf65b04 (patch)
treeb1959c9046fb89565fed4631b6b8096d4222a4eb
parent5bc5665c6a7eaf95d90b78b415aea3ed00857835 (diff)
Fix compiler warning
-rw-r--r--src/OptionHandlerFactory.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/OptionHandlerFactory.cc b/src/OptionHandlerFactory.cc
index 83663cce..d0740fd6 100644
--- a/src/OptionHandlerFactory.cc
+++ b/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);
}
{