commit | 3a5c314961a17ec07ce108435d941c2e4f8d450b | [log] [tgz] |
---|---|---|
author | Ting-Yuan Huang <laszio@google.com> | Wed Oct 19 18:15:30 2016 -0700 |
committer | George Burgess IV <gbiv@google.com> | Wed Oct 19 19:39:44 2016 -0700 |
tree | c022f641ea1b9c00525ead95428b39042d2fc519 | |
parent | c75f65f4e32a5bb79038e559bbb8c05732270255 [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