From: Razvan Becheriu Date: Fri, 6 Nov 2020 17:42:12 +0000 (+0200) Subject: [#1375] fixed warnings X-Git-Tag: Kea-1.9.3~93 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dfc5ef70355f5798aea0d03fcbdb95f82c748799;p=thirdparty%2Fkea.git [#1375] fixed warnings --- diff --git a/src/lib/dhcpsrv/host_data_source_factory.cc b/src/lib/dhcpsrv/host_data_source_factory.cc index a24d17250d..f28cdbf658 100644 --- a/src/lib/dhcpsrv/host_data_source_factory.cc +++ b/src/lib/dhcpsrv/host_data_source_factory.cc @@ -106,7 +106,6 @@ HostDataSourceFactory::del(HostDataSourceList& sources, bool if_unusable) { DatabaseConnection::ParameterMap parameters = DatabaseConnection::parse(dbaccess); - bool result = false; for (auto it = sources.begin(); it != sources.end(); ++it) { if ((*it)->getType() != db_type || (*it)->getParameters() != parameters) { continue;