]> git.stg.codes - stg.git/commitdiff
Extra semicolon and return in void functions removed
authorMaxim Mamontov <faust.madf@gmail.com>
Sun, 13 Nov 2011 20:54:19 +0000 (22:54 +0200)
committerMaxim Mamontov <faust.madf@gmail.com>
Sun, 13 Nov 2011 20:54:19 +0000 (22:54 +0200)
projects/stargazer/traffcounter_impl.cpp

index da64a0b8bb2ceb68ee7c26e63f5eb52989eeee28..31063523291d075989381e769cf301391ea3b900 100644 (file)
@@ -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<unsigned>(rule.dir));
 }
 //-----------------------------------------------------------------------------
 void TRAFFCOUNTER_IMPL::SetMonitorDir(const std::string & monitorDir)