summaryrefslogtreecommitdiff
path: root/libutils/Unicode.cpp
diff options
context:
space:
mode:
authorTing-Yuan Huang <laszio@google.com>2016-10-19 18:15:30 -0700
committerGeorge Burgess IV <gbiv@google.com>2016-10-19 19:39:44 -0700
commitef57d54f80774701eee8bdb45185fb33e5ced473 (patch)
tree0e18ee8d14d53ba1333999ea46163c4bc096962e /libutils/Unicode.cpp
parent5062b87ebaea0eeeb7b6417865e654b769e97926 (diff)
adb: fix undefined behavior
system/core/adb/shell_service_protocol_test.cpp:94:14: warning: Null passed to a callee that requires a non-null 1st parameter !memcmp(data, protocol->data(), data_length)); C99 requires memcmp() to take non-null pointers. Bug: none Test: clang-tidy doesn't complain Change-Id: I77b8d9373fa257a070ffc7fd318231c2c9ea84c3
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions