From: Maxim Mamontov Date: Sun, 13 Nov 2011 20:54:19 +0000 (+0200) Subject: Extra semicolon and return in void functions removed X-Git-Tag: 2.408~47 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/40a8ecaad67533d0944e2b3fbd6e608f009fb28d Extra semicolon and return in void functions removed --- 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)