mirror of
https://github.com/aria2/aria2.git
synced 2025-01-08 19:11:47 +00:00
Fix compiler warning
This commit is contained in:
parent
5bc5665c6a
commit
512f87f4ff
@ -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);
|
||||
}
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user