Skip to content

Commit 35b1bcb

Browse files
authored
style: resolve -Wunused-parameter (#2990)
1 parent 0bd697d commit 35b1bcb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ciphers/uint128_t.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ class uint128_t {
350350
* @brief operator -- (post-decrement)
351351
* @returns decremented value of this
352352
*/
353-
inline uint128_t operator--(int p) {
353+
inline uint128_t operator--(int) {
354354
--*this;
355355
return *this;
356356
}

ciphers/uint256_t.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ class uint256_t {
319319
* @brief operator -- (post-decrement)
320320
* @returns decremented value of this
321321
*/
322-
inline uint256_t operator--(int p) {
322+
inline uint256_t operator--(int) {
323323
--*this;
324324
return *this;
325325
}

0 commit comments

Comments
 (0)