refactor: Revert "disable self-assign warning for tests"

This reverts commit 53372f2176.
This commit is contained in:
MarcoFalke
2025-10-09 20:46:43 +02:00
parent faed118fb3
commit fa0fa0f700
2 changed files with 0 additions and 29 deletions

View File

@@ -199,19 +199,7 @@ FUZZ_TARGET(muhash)
},
[&] {
// Test that dividing a MuHash by itself brings it back to its initial state
// See note about clang + self-assignment in test/uint256_tests.cpp
#if defined(__clang__)
# pragma clang diagnostic push
# pragma clang diagnostic ignored "-Wself-assign-overloaded"
#endif
muhash /= muhash;
#if defined(__clang__)
# pragma clang diagnostic pop
#endif
muhash.Finalize(out);
out2 = initial_state_hash;
},