diff options
author | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2007-01-26 22:55:12 +0000 |
---|---|---|
committer | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2007-01-26 22:55:12 +0000 |
commit | 68ddbb28af211fd9adaddd283d2fde7b07e73a5d (patch) | |
tree | a95f67e4535fcb206a8c743aa7e8ee6b68171e16 | |
parent | e90dd432cbb7cbaeded7253f04bf6fe464ba645d (diff) | |
download | busybox-w32-68ddbb28af211fd9adaddd283d2fde7b07e73a5d.tar.gz busybox-w32-68ddbb28af211fd9adaddd283d2fde7b07e73a5d.tar.bz2 busybox-w32-68ddbb28af211fd9adaddd283d2fde7b07e73a5d.zip |
fix "expr has no effect" warning
git-svn-id: svn://busybox.net/trunk/busybox@17543 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r-- | include/libbb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h index def6124d7..d2da056f7 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -321,7 +321,7 @@ len_and_sockaddr* host2sockaddr(const char *host, int port); | |||
321 | len_and_sockaddr* host_and_af2sockaddr(const char *host, int port, sa_family_t af); | 321 | len_and_sockaddr* host_and_af2sockaddr(const char *host, int port, sa_family_t af); |
322 | #else | 322 | #else |
323 | /* [we evaluate af: think about "host_and_af2sockaddr(..., af++)"] */ | 323 | /* [we evaluate af: think about "host_and_af2sockaddr(..., af++)"] */ |
324 | #define host_and_af2sockaddr(host, port, af) ((af), host2sockaddr((host), (port))) | 324 | #define host_and_af2sockaddr(host, port, af) ((void)(af), host2sockaddr((host), (port))) |
325 | #endif | 325 | #endif |
326 | /* Assign sin[6]_port member if the socket is of corresponding type, | 326 | /* Assign sin[6]_port member if the socket is of corresponding type, |
327 | * otherwise no-op. Useful for ftp. | 327 | * otherwise no-op. Useful for ftp. |