Module: check_mk
Branch: master
Commit: aaf27e215865baf53425a51a46f9cd0fffc6ca62
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=aaf27e215865ba…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Tue May 7 10:06:05 2019 +0200
Activate redundantAssignment again.
Change-Id: I40395562d33099ea86f20461bff3fc301e707f3b
---
livestatus/src/TableStateHistory.cc | 1 -
livestatus/src/cppcheck-suppressions.txt | 1 -
2 files changed, 2 deletions(-)
diff --git a/livestatus/src/TableStateHistory.cc b/livestatus/src/TableStateHistory.cc
index 5d4e93c..b9b35fc 100644
--- a/livestatus/src/TableStateHistory.cc
+++ b/livestatus/src/TableStateHistory.cc
@@ -619,7 +619,6 @@ void TableStateHistory::answerQuery(Query *query) {
// Set absent state
hst->_state = -1;
- hst->_until = hst->_time;
hst->_debug_info = "UNMONITORED";
hst->_log_output = "";
hst->_long_log_output = "";
diff --git a/livestatus/src/cppcheck-suppressions.txt
b/livestatus/src/cppcheck-suppressions.txt
index cbb542f..b5d66a8 100644
--- a/livestatus/src/cppcheck-suppressions.txt
+++ b/livestatus/src/cppcheck-suppressions.txt
@@ -1,5 +1,4 @@
missingIncludeSystem
-redundantAssignment
uninitMemberVar
unmatchedSuppression
unusedFunction