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 since 3333282933.
This commit is contained in:
@@ -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