Page MenuHomePhabricator

Fix a -Wmaybe-uninitialized warning in cuckoocache_tests
ClosedPublic

Authored by Fabien on Jan 5 2024, 15:38.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Commits
rABC9b7b084a58d9: Fix a -Wmaybe-uninitialized warning in cuckoocache_tests
Summary

The warning is raised by GCC 13. KeyType::data is accessed in CacheHasher::operator() so we should initialize it.

Test Plan
ninja check-bitcoin-cuckoocache_tests

Diff Detail