Commit 81ddf657 authored by Mukund Sivaraman's avatar Mukund Sivaraman
Browse files

[master] Fix cppcheck report about inefficient code

parent 675e72e8
......@@ -140,7 +140,7 @@ DCfgMgrBase::parseConfig(isc::data::ConstElementPtr config_set) {
// specific order if the list (parser_order_) is not empty; otherwise
// elements are parsed in the order the value_map presents them.
if (parse_order_.size() > 0) {
if (!parse_order_.empty()) {
// For each element_id in the parse order list, look for it in the
// value map. If the element exists in the map, pass it and it's
// associated data in for parsing.
Supports Markdown
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