Skip to content

Commit

Permalink
ICU-22848 remove unrelated wor
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankYFTang committed Aug 7, 2024
1 parent d7fee39 commit 1a726c9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion icu4c/source/common/rbbirb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,6 @@ RBBIDataHeader *RBBIRuleBuilder::flattenData() {
fStrippedRules.getBuffer(), fStrippedRules.length(),
0xfffd, nullptr, fStatus);
if (U_FAILURE(*fStatus)) {
uprv_free(data);
return nullptr;
}

Expand Down
3 changes: 0 additions & 3 deletions icu4c/source/test/fuzzer/rule_based_break_iterator_fuzzer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
std::memcpy(fuzzbuff.get(), data, unistr_size * 2);
icu::UnicodeString fuzzstr(false, fuzzbuff.get(), unistr_size);

std::string utf8;
printf("%s\n", fuzzstr.toUTF8String<std::string>(utf8).c_str());

UParseError parse;
icu::LocalPointer<icu::RuleBasedBreakIterator> brk(
new icu::RuleBasedBreakIterator(fuzzstr, parse, status));
Expand Down

0 comments on commit 1a726c9

Please sign in to comment.