diff options
| author | Elliott Hughes <enh@google.com> | 2021-12-15 13:41:20 -0800 |
|---|---|---|
| committer | Elliott Hughes <enh@google.com> | 2021-12-15 13:41:20 -0800 |
| commit | ad1658ecfe4525eba9493d5948b0e5eb9a12fb61 (patch) | |
| tree | 7a20c0d1d10299d6063d8b009a570dafe49d9399 /libc/malloc_hooks/tests/malloc_hooks_tests.cpp | |
| parent | 084d60a027c8cb495c140aab25b969f9b4a480c3 (diff) | |
c32rtomb/mbrtoc32: remove dead code.
When we added the fast path for the common case of ASCII, we forgot to
remove the now-dead code that handled the 1-byte case later in these
functions. This was obvious from the code coverage data.
Note that the 16-bit variants are unaffected because they're implemented
as calls to the 32-bit variants with extra range checks/surrogate
handling surrounding the call.
Test: treehugger
Change-Id: Ibd40f823519acb9aae8037bdeb3f9c5e36b9d9a6
Diffstat (limited to 'libc/malloc_hooks/tests/malloc_hooks_tests.cpp')
0 files changed, 0 insertions, 0 deletions
