]> git.stg.codes - stg.git/blobdiff - projects/stargazer/traffcounter_impl.cpp
Shut up compiler
[stg.git] / projects / stargazer / traffcounter_impl.cpp
index da64a0b8bb2ceb68ee7c26e63f5eb52989eeee28..f39f12480d78353f1b85ac6c1288a28da256d73f 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=%u \n", static_cast<unsigned>(rule.dir));
 }
 //-----------------------------------------------------------------------------
 void TRAFFCOUNTER_IMPL::SetMonitorDir(const std::string & monitorDir)