Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fuzz: use std::optional for sep_pos variable
Summary: ``` This PR changes the original size_t sep_pos to std::optional<size_t> sep_post_opt to remove the warning when compiling fuzz tests. ``` Backport of core [[bitcoin/bitcoin#18901 | PR18901]]. Note that we don't have the warning for some reason. Test Plan: ninja bitcoin-fuzzers ./src/test/fuzz/asmap_direct <path_to_corpus> Reviewers: #bitcoin_abc, PiRK Reviewed By: #bitcoin_abc, PiRK Differential Revision: https://reviews.bitcoinabc.org/D9060
- Loading branch information