Parcourir la source

[5329] Removed odd "return void" construct which horrifies Thomas.

Hopefully, that will make Thomas'es weekend nicer.
Marcin Siodelski il y a 7 ans
Parent
commit
4f8118c59c
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      src/lib/hooks/hooks_manager.cc

+ 2 - 2
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