From: Remi Gacogne Date: Thu, 22 Jun 2023 10:05:00 +0000 (+0200) Subject: test-dnsname: Fix "unnecessary parentheses in declaration of ‘name5’" X-Git-Tag: rec-5.0.0-alpha1~155^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F12944%2Fhead;p=thirdparty%2Fpdns.git test-dnsname: Fix "unnecessary parentheses in declaration of ‘name5’" --- diff --git a/pdns/test-dnsname_cc.cc b/pdns/test-dnsname_cc.cc index 43c1b900dd..b3b442a46d 100644 --- a/pdns/test-dnsname_cc.cc +++ b/pdns/test-dnsname_cc.cc @@ -1028,7 +1028,7 @@ BOOST_AUTO_TEST_CASE(test_getcommonlabels) { BOOST_CHECK_EQUAL(name3.getCommonLabels(name4), name3); BOOST_CHECK_EQUAL(name4.getCommonLabels(name3), name4); - const DNSName(name5); + const DNSName name5; BOOST_CHECK_EQUAL(name1.getCommonLabels(name5), DNSName()); BOOST_CHECK_EQUAL(name5.getCommonLabels(name1), DNSName()); }