1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-12 17:52:48 -05:00

Merge pull request #143 from Spudz76/pr-mo-fix-unused-warning

Fix unused warning with C++17 [[maybe_unused]] decoration
This commit is contained in:
MoneroOcean
2024-06-01 08:43:00 -07:00
committed by GitHub

View File

@@ -77,7 +77,7 @@ static inline void do_skein_hash(const uint8_t *input, size_t len, uint8_t *outp
}
static inline void do_flex_skein_hash(const uint8_t* input, size_t len, uint8_t* output) {
int r = skein_hash(512, input, 8 * len, (uint8_t*)output);
[[maybe_unused]] int r = skein_hash(512, input, 8 * len, (uint8_t*)output);
assert(SKEIN_SUCCESS == r);
}