mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-09-11 21:20:39 +02:00
fuzz, refactor: Remove unused random_string in locale.cpp
This has been unused since3333282933. Github-Pull: #35914 Rebased-From:3df0d067ad
This commit is contained in:
committed by
fanquake
parent
289568e930
commit
50b21679c0
@@ -45,7 +45,6 @@ FUZZ_TARGET(locale)
|
||||
const char* c_locale = std::setlocale(LC_ALL, "C");
|
||||
assert(c_locale != nullptr);
|
||||
|
||||
const std::string random_string = fuzzed_data_provider.ConsumeRandomLengthString(5);
|
||||
const int64_t random_int64 = fuzzed_data_provider.ConsumeIntegral<int64_t>();
|
||||
const std::string tostring_without_locale = util::ToString(random_int64);
|
||||
const std::string strprintf_int_without_locale = strprintf("%d", random_int64);
|
||||
|
||||
Reference in New Issue
Block a user