fix [[nodiscard]] single warning

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
This commit is contained in:
Matthieu Gallien 2022-09-30 19:19:03 +02:00 committed by Matthieu Gallien
parent 17e2f1de03
commit 5fc017575b

View file

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