Skip to content

Commit 5928c59

Browse files
Ashodcaolanm
authored andcommitted
wsd: maybe_unused in verifyWOPISrc
Change-Id: I20799f703cfb43a42b3831cbfe47c2c9078044c9 Signed-off-by: Ashod Nakashian <[email protected]>
1 parent 1c5862d commit 5928c59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/HttpHelper.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ void sendFile(const std::shared_ptr<StreamSocket>& socket, const std::string& pa
4646
/// The idea is to only warn in release builds, but to help developers in debug builds.
4747
/// Returns false only in debug build.
4848
inline bool verifyWOPISrc(const std::string& uri, const std::string& wopiSrc,
49-
const std::shared_ptr<StreamSocket>& socket = {})
49+
[[maybe_unused]] const std::shared_ptr<StreamSocket>& socket = {})
5050
{
5151
// getQueryParameters(), which is used to extract wopiSrc, decodes the values.
5252
// Compare with the URI. WopiSrc is complex enough to require encoding.

0 commit comments

Comments
 (0)