Module: check_mk
Branch: master
Commit: 4f045bf724cd95bd0a078dbd74357bbc3d303f8f
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=4f045bf724cd95…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Wed Oct 28 10:33:56 2015 +0100
Removed a few TODOs.
---
livestatus/src/TableStateHistory.cc | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/livestatus/src/TableStateHistory.cc b/livestatus/src/TableStateHistory.cc
index 9dbc882..d497e2a 100644
--- a/livestatus/src/TableStateHistory.cc
+++ b/livestatus/src/TableStateHistory.cc
@@ -374,7 +374,6 @@ void TableStateHistory::answerQuery(Query *query)
case LOG_VERSION:
case ACKNOWLEDGE_ALERT_HOST:
case ACKNOWLEDGE_ALERT_SERVICE:
- // TODO: Check if a no-op is really the right thing to do here.
break;
case ALERT_SERVICE:
case STATE_SERVICE:
@@ -383,7 +382,7 @@ void TableStateHistory::answerQuery(Query *query)
case FLAPPING_SERVICE:
key = entry->_service;
is_service = true;
- // TODO: Do we really want to fall through? If yes, add a comment, otherwise fix
it.
+ // fall-though
case ALERT_HOST:
case STATE_HOST:
case STATE_HOST_INITIAL:
@@ -705,7 +704,6 @@ int TableStateHistory::updateHostServiceState(Query *query, const
LogEntry *entr
case LOG_INITIAL_STATES:
case ACKNOWLEDGE_ALERT_HOST:
case ACKNOWLEDGE_ALERT_SERVICE:
- // TODO: Check if a no-op is really the right thing to do here.
break;
case STATE_HOST:
case STATE_HOST_INITIAL: