Parcourir la source

[2726] Explicitly call the default constructor

This is no difference in the code, as the default constructor would be
called implicitly, but cppcheck warned about not calling one.
Michal 'vorner' Vaner il y a 12 ans
Parent
commit
43fae7e836
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      src/lib/datasrc/tests/client_list_unittest.cc

+ 1 - 0
src/lib/datasrc/tests/client_list_unittest.cc

@@ -125,6 +125,7 @@ public:
         rrclass_(RRClass::IN()),
         // The empty list corresponds to a list with no elements inside
         list_(new TestedList(rrclass_)),
+        negative_result_(),
         config_elem_(Element::fromJSON("["
             "{"
             "   \"type\": \"test_type\","