fix [[nodiscard]] single warning
authorMatthieu Gallien <matthieu.gallien@nextcloud.com>
Fri, 30 Sep 2022 17:19:03 +0000 (19:19 +0200)
committerMatthieu Gallien <matthieu_gallien@yahoo.fr>
Tue, 4 Oct 2022 09:14:45 +0000 (11:14 +0200)
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
test/testaccount.cpp

index 8b1e55812e6cd1511e9deaa7d1e3c0187880a527..e5122b7f39ebbb3bdcf7ab0bbdaf7690d69c4354 100644 (file)
@@ -26,7 +26,7 @@ private slots:
     void testAccountDavPath_unitialized_noCrash()
     {
         AccountPtr account = Account::create();
-        account->davPath();
+        [[maybe_unused]] const auto davPath = account->davPath();
     }
 };