From: Francis Dupont Date: Fri, 1 Jun 2018 21:03:00 +0000 (+0200) Subject: [master] Fixed Coverity CID 1435921 X-Git-Tag: trac5631_base X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6449ec34407c428ecf72f3c0b0693ae9b7690a1;p=thirdparty%2Fkea.git [master] Fixed Coverity CID 1435921 --- diff --git a/src/hooks/dhcp/stat_cmds/stat_cmds.cc b/src/hooks/dhcp/stat_cmds/stat_cmds.cc index ce882b0cf1..02f0b445ec 100644 --- a/src/hooks/dhcp/stat_cmds/stat_cmds.cc +++ b/src/hooks/dhcp/stat_cmds/stat_cmds.cc @@ -310,6 +310,8 @@ LeaseStatCmdsImpl::getParameters(const ConstElementPtr& cmd_args) { Parameters params; params.select_mode_ = LeaseStatsQuery::ALL_SUBNETS; + params.first_subnet_id_ = 0; + params.last_subnet_id_ = 0; if (!cmd_args ) { // No arguments defaults to ALL_SUBNETS. return (params);