summaryrefslogtreecommitdiff
path: root/libutils/ProcessCallStack.cpp
diff options
context:
space:
mode:
authorGreg Hackmann <ghackmann@google.com>2017-02-22 10:42:34 -0800
committerGreg Hackmann <ghackmann@google.com>2017-02-22 10:58:38 -0800
commit7c60ec3029e68931f3c5cb6647b8bc764de71398 (patch)
tree2385f918bdce6ad94de3442eebcd62dc232e8da3 /libutils/ProcessCallStack.cpp
parent6d90fdc5e5c69a5f16802364c489d51398e856d6 (diff)
libcutils: fix socket type in SocketsTest.TestGetLocalPort
With -Wall enabled locally, clang points out that the second parameter to socket_inaddr_any_server() was accidentally hard-coded: system/core/libcutils/tests/sockets_test.cpp:103:18: warning: unused variable 'type' [-Wunused-variable] for (int type : {SOCK_DGRAM, SOCK_STREAM}) { ^ Bug: 26936282 Test: mmm system/core/libcutils/tests Test: adb shell /data/nativetest/libcutils_test/libcutils_test32 \ --gtest_filter=SocketsTest.TestGetLocalPort (on hikey) Test: adb shell /data/nativetest64/libcutils_test/libcutils_test64 \ --gtest_filter=SocketsTest.TestGetLocalPort (on hikey) Change-Id: Ib0fa24fb02a5ee14db0afd6591a62089e43bbec0 Signed-off-by: Greg Hackmann <ghackmann@google.com>
Diffstat (limited to 'libutils/ProcessCallStack.cpp')
0 files changed, 0 insertions, 0 deletions