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:
commit
42204df0ac
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue