diff options
author | Mark Salyzyn <salyzyn@google.com> | 2013-11-22 07:36:45 -0800 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2014-01-27 15:07:15 -0800 |
commit | 2b94cc264f54fb588a8721caf92fff95b7576f4a (patch) | |
tree | e15a35d7fffee071b91e5821741878175b922685 /libcutils/socket_local_client.c | |
parent | e16baef4d2f59c0b5f78e66c838d6c5e7d9b7363 (diff) | |
download | system_core-2b94cc264f54fb588a8721caf92fff95b7576f4a.zip system_core-2b94cc264f54fb588a8721caf92fff95b7576f4a.tar.gz system_core-2b94cc264f54fb588a8721caf92fff95b7576f4a.tar.bz2 |
libcutils: UNUSED argument warnings
(cherry picked from commit ba02cd1e9bccee9b112ccbee06bc204381b5a215)
Change-Id: Ie427d481298af8d911bb2b157ebba30954335354
Diffstat (limited to 'libcutils/socket_local_client.c')
-rw-r--r-- | libcutils/socket_local_client.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libcutils/socket_local_client.c b/libcutils/socket_local_client.c index 036ce2e..5310516 100644 --- a/libcutils/socket_local_client.c +++ b/libcutils/socket_local_client.c @@ -39,6 +39,8 @@ int socket_local_client(const char *name, int namespaceId, int type) #include "socket_local.h" +#define UNUSED __attribute__((unused)) + #define LISTEN_BACKLOG 4 /* Documented in header file. */ @@ -122,7 +124,7 @@ error: * Used by AndroidSocketImpl */ int socket_local_client_connect(int fd, const char *name, int namespaceId, - int type) + int type UNUSED) { struct sockaddr_un addr; socklen_t alen; |