Module: check_mk
Branch: master
Commit: 1804587036908416eedb53f671760245c5109564
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=18045870369084…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Mon Oct 26 11:01:01 2015 +0100
Warning police: Removed unused variables.
---
livestatus/src/ServicelistStateColumn.cc | 1 -
livestatus/src/TableDownComm.cc | 2 --
2 files changed, 3 deletions(-)
diff --git a/livestatus/src/ServicelistStateColumn.cc
b/livestatus/src/ServicelistStateColumn.cc
index dc8f599..2121955 100644
--- a/livestatus/src/ServicelistStateColumn.cc
+++ b/livestatus/src/ServicelistStateColumn.cc
@@ -51,7 +51,6 @@ int32_t ServicelistStateColumn::getValue(int logictype, servicesmember
*mem, Que
{
contact *auth_user = query->authUser();
int32_t result = 0;
- int lt;
while (mem) {
service *svc = mem->service_ptr;
diff --git a/livestatus/src/TableDownComm.cc b/livestatus/src/TableDownComm.cc
index 5363034..45d8f19 100644
--- a/livestatus/src/TableDownComm.cc
+++ b/livestatus/src/TableDownComm.cc
@@ -104,7 +104,6 @@ TableDownComm::~TableDownComm()
}
void TableDownComm::addComment(nebstruct_comment_data *data) {
- unsigned long id = data->comment_id;
if (data->type == NEBTYPE_COMMENT_ADD || data->type == NEBTYPE_COMMENT_LOAD) {
add(new Comment(data));
}
@@ -116,7 +115,6 @@ void TableDownComm::addComment(nebstruct_comment_data *data) {
void TableDownComm::addDowntime(nebstruct_downtime_data *data)
{
- unsigned long id = data->downtime_id;
if (data->type == NEBTYPE_DOWNTIME_ADD || data->type == NEBTYPE_DOWNTIME_LOAD)
{
add(new Downtime(data));
}