Commit e4cdfa3b authored by Michael Ott's avatar Michael Ott
Browse files

Fixed unused variable warning

parent 500fb193
...@@ -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;
} }
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment