fuzz, refactor: Remove unused random_string in locale.cpp

This has been unused since 3333282933.

Github-Pull: #35914
Rebased-From: 3df0d067ad
This commit is contained in:
Hennadii Stepanov
2026-08-06 12:21:27 +01:00
committed by fanquake
parent 289568e930
commit 50b21679c0

View File

@@ -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);