diff options
author | Elliott Hughes <enh@google.com> | 2017-11-30 16:23:51 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2017-11-30 16:24:36 -0800 |
commit | 38d2567c9ffa089661e784b63a5448f8a16572c8 (patch) | |
tree | fbeef91072ff19233e17f50fb7cad67647448629 /libcutils/socket_local_client_unix.cpp | |
parent | aaa0bbce8eadf1a428493f3524066a74447eded4 (diff) |
Stop defining local "unused" macros now this is C++.
Bug: N/A
Test: builds, boots
Change-Id: I3eb075d5003fa7cdc6690f4af29a296e22be257c
Diffstat (limited to 'libcutils/socket_local_client_unix.cpp')
-rw-r--r-- | libcutils/socket_local_client_unix.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libcutils/socket_local_client_unix.cpp b/libcutils/socket_local_client_unix.cpp index 68b2b0ce9..d2b4909d9 100644 --- a/libcutils/socket_local_client_unix.cpp +++ b/libcutils/socket_local_client_unix.cpp @@ -39,8 +39,6 @@ int socket_local_client(const char *name, int namespaceId, int type) #include "socket_local_unix.h" -#define UNUSED __attribute__((unused)) - #define LISTEN_BACKLOG 4 /* Documented in header file. */ @@ -123,9 +121,7 @@ error: * * Used by AndroidSocketImpl */ -int socket_local_client_connect(int fd, const char *name, int namespaceId, - int type UNUSED) -{ +int socket_local_client_connect(int fd, const char* name, int namespaceId, int /*type*/) { struct sockaddr_un addr; socklen_t alen; int err; |