HomePhabricator

Fix a -Wmaybe-uninitialized warning in cuckoocache_tests

Description

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

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Differential Revision: https://reviews.bitcoinabc.org/D15098

Details

Provenance
FabienAuthored on Jan 5 2024, 15:38
FabienPushed on Jan 5 2024, 16:58
Reviewer
Restricted Project
Differential Revision
D15098: Fix a -Wmaybe-uninitialized warning in cuckoocache_tests
Parents
rABC4875e12f0173: Remove no-op TIME_INIT on deser
Branches
Unknown
Tags
Unknown