From 5fc017575bd8af27791818e167f6dc72a058f40f Mon Sep 17 00:00:00 2001 From: Matthieu Gallien Date: Fri, 30 Sep 2022 19:19:03 +0200 Subject: [PATCH] fix [[nodiscard]] single warning Signed-off-by: Matthieu Gallien --- test/testaccount.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/testaccount.cpp b/test/testaccount.cpp index 8b1e55812..e5122b7f3 100644 --- a/test/testaccount.cpp +++ b/test/testaccount.cpp @@ -26,7 +26,7 @@ private slots: void testAccountDavPath_unitialized_noCrash() { AccountPtr account = Account::create(); - account->davPath(); + [[maybe_unused]] const auto davPath = account->davPath(); } }; -- 2.30.2