Skip to content

Commit

Permalink
fix [[nodiscard]] single warning
Browse files Browse the repository at this point in the history
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
  • Loading branch information
mgallien committed Sep 30, 2022
1 parent 336b5bc commit fea624a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/testaccount.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ private slots:
void testAccountDavPath_unitialized_noCrash()
{
AccountPtr account = Account::create();
account->davPath();
[[maybe_unused]] const auto davPath = account->davPath();
}
};

Expand Down

0 comments on commit fea624a

Please sign in to comment.