summaryrefslogtreecommitdiff
path: root/libc/malloc_debug/tests/malloc_debug_unit_tests.cpp
diff options
context:
space:
mode:
authorRyan Prichard <rprichard@google.com>2020-01-22 13:43:10 -0800
committerRyan Prichard <rprichard@google.com>2020-01-22 13:59:15 -0800
commit928c2492a33ddf998add2ec5143af97fe26e0734 (patch)
treefc349b355560cb55170d1d1bde2b0253f26f238c /libc/malloc_debug/tests/malloc_debug_unit_tests.cpp
parent8bff8bb622fda20aae2764140749bed8b6023f57 (diff)
Remove an unused code path
A static analyzer is complaining that num_valid_bits could be 64, and if it were 64, then two later accesses would be out-of-bounds. is_nul_u64 can't be zero, though, because we only exit the loop when part of is_nul is non-zero. Bug: none Test: manual Change-Id: I75c3f70b600aa5478cb32fdf4ca0ae1173b69524
Diffstat (limited to 'libc/malloc_debug/tests/malloc_debug_unit_tests.cpp')
0 files changed, 0 insertions, 0 deletions