git.stg.codes
/
stg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6669aed
)
Extra semicolon and return in void functions removed
author
Maxim Mamontov
<faust.madf@gmail.com>
Sun, 13 Nov 2011 20:54:19 +0000
(22:54 +0200)
committer
Maxim Mamontov
<faust.madf@gmail.com>
Sun, 13 Nov 2011 20:54:19 +0000
(22:54 +0200)
projects/stargazer/traffcounter_impl.cpp
patch
|
blob
|
history
diff --git
a/projects/stargazer/traffcounter_impl.cpp
b/projects/stargazer/traffcounter_impl.cpp
index da64a0b8bb2ceb68ee7c26e63f5eb52989eeee28..31063523291d075989381e769cf301391ea3b900 100644
(file)
--- 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<unsigned>(rule.dir));
}
//-----------------------------------------------------------------------------
void TRAFFCOUNTER_IMPL::SetMonitorDir(const std::string & monitorDir)