Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
dcdb
dcdb
Commits
e4cdfa3b
Commit
e4cdfa3b
authored
Oct 07, 2020
by
Michael Ott
Browse files
Fixed unused variable warning
parent
500fb193
Changes
1
Hide whitespace changes
Inline
Side-by-side
collectagent/collectagent.cpp
View file @
e4cdfa3b
...
@@ -851,7 +851,6 @@ int main(int argc, char* const argv[]) {
...
@@ -851,7 +851,6 @@ int main(int argc, char* const argv[]) {
gettimeofday
(
&
start
,
NULL
);
gettimeofday
(
&
start
,
NULL
);
uint64_t
lastCleanup
=
start
.
tv_sec
;
uint64_t
lastCleanup
=
start
.
tv_sec
;
uint64_t
lastStats
=
start
.
tv_sec
;
uint64_t
sleepInterval
=
(
settings
.
statisticsInterval
>
0
)
?
settings
.
statisticsInterval
:
60
;
uint64_t
sleepInterval
=
(
settings
.
statisticsInterval
>
0
)
?
settings
.
statisticsInterval
:
60
;
LOG
(
info
)
<<
"Collect Agent running..."
;
LOG
(
info
)
<<
"Collect Agent running..."
;
...
@@ -877,7 +876,6 @@ int main(int argc, char* const argv[]) {
...
@@ -877,7 +876,6 @@ int main(int argc, char* const argv[]) {
msgCtr
=
0
;
msgCtr
=
0
;
pmsgCtr
=
0
;
pmsgCtr
=
0
;
readingCtr
=
0
;
readingCtr
=
0
;
lastStats
=
start
.
tv_sec
;
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment