mirror of https://github.com/Icinga/icinga2.git
Remove unused variable
This commit is contained in:
parent
accadb5dfb
commit
6705158d31
|
@ -225,8 +225,6 @@ bool RedisWriter::PrepareObject(const ConfigObject::Ptr& object, Dictionary::Ptr
|
||||||
Type::Ptr type = object->GetReflectionType();
|
Type::Ptr type = object->GetReflectionType();
|
||||||
|
|
||||||
if (type == Endpoint::TypeInstance) {
|
if (type == Endpoint::TypeInstance) {
|
||||||
Endpoint::Ptr endpoint = static_pointer_cast<Endpoint>(object);
|
|
||||||
|
|
||||||
checksums->Set("properties_checksum", HashValue(attributes));
|
checksums->Set("properties_checksum", HashValue(attributes));
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue