From: Marcin Siodelski Date: Fri, 14 Jul 2017 15:45:06 +0000 (+0200) Subject: [5329] Removed odd "return void" construct which horrifies Thomas. X-Git-Tag: trac5124a_base~42^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f8118c59cb045b4dce2fee432b2f821c59175b3;p=thirdparty%2Fkea.git [5329] Removed odd "return void" construct which horrifies Thomas. Hopefully, that will make Thomas'es weekend nicer. --- diff --git a/src/lib/hooks/hooks_manager.cc b/src/lib/hooks/hooks_manager.cc index 56db7b209e..b4702baff0 100644 --- a/src/lib/hooks/hooks_manager.cc +++ b/src/lib/hooks/hooks_manager.cc @@ -64,12 +64,12 @@ HooksManager::commandHandlersPresent(const std::string& command_name) { void HooksManager::callCalloutsInternal(int index, CalloutHandle& handle) { conditionallyInitialize(); - return (callout_manager_->callCallouts(index, handle)); + callout_manager_->callCallouts(index, handle); } void HooksManager::callCallouts(int index, CalloutHandle& handle) { - return (getHooksManager().callCalloutsInternal(index, handle)); + getHooksManager().callCalloutsInternal(index, handle); } void