mirror of https://github.com/aria2/aria2
Fix compiler warning
parent
5bc5665c6a
commit
512f87f4ff
|
@ -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);
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue