From 40a8ecaad67533d0944e2b3fbd6e608f009fb28d Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Sun, 13 Nov 2011 22:54:19 +0200 Subject: [PATCH] Extra semicolon and return in void functions removed --- projects/stargazer/traffcounter_impl.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/projects/stargazer/traffcounter_impl.cpp b/projects/stargazer/traffcounter_impl.cpp index da64a0b8..31063523 100644 --- a/projects/stargazer/traffcounter_impl.cpp +++ b/projects/stargazer/traffcounter_impl.cpp @@ -625,9 +625,7 @@ if (!foundU) if (!foundD) *dirD = DIR_NUM; - -return; -}; +} //----------------------------------------------------------------------------- void TRAFFCOUNTER_IMPL::SetRulesFile(const std::string & fn) { @@ -901,8 +899,7 @@ switch (rule.proto) printf("ALL "); break; } -printf("dir=%d \n", rule.dir); -return; +printf("dir=%d \n", static_cast(rule.dir)); } //----------------------------------------------------------------------------- void TRAFFCOUNTER_IMPL::SetMonitorDir(const std::string & monitorDir) -- 2.43.2