Commit bcf2ef34 authored by Francis Dupont's avatar Francis Dupont
Browse files

[master] Fixed warning

parent 747d729c
...@@ -492,9 +492,6 @@ ControlledDhcpv6Srv::checkConfig(isc::data::ConstElementPtr config) { ...@@ -492,9 +492,6 @@ ControlledDhcpv6Srv::checkConfig(isc::data::ConstElementPtr config) {
ControlledDhcpv6Srv* srv = ControlledDhcpv6Srv::getInstance(); ControlledDhcpv6Srv* srv = ControlledDhcpv6Srv::getInstance();
// Single stream instance used in all error clauses
std::ostringstream err;
if (!srv) { if (!srv) {
ConstElementPtr no_srv = isc::config::createAnswer(1, ConstElementPtr no_srv = isc::config::createAnswer(1,
"Server object not initialized, can't process config."); "Server object not initialized, can't process config.");
......
...@@ -529,7 +529,7 @@ DControllerBase::configTestHandler(const std::string&, ConstElementPtr args) { ...@@ -529,7 +529,7 @@ DControllerBase::configTestHandler(const std::string&, ConstElementPtr args) {
} }
ConstElementPtr ConstElementPtr
DControllerBase::versionGetHandler(const std::string&, ConstElementPtr args) { DControllerBase::versionGetHandler(const std::string&, ConstElementPtr) {
ConstElementPtr answer; ConstElementPtr answer;
// For version-get put the extended version in arguments // For version-get put the extended version in arguments
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment