projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86724af
)
fix "expr has no effect" warning
author
Denis Vlasenko
<vda.linux@googlemail.com>
Fri, 26 Jan 2007 22:55:12 +0000
(22:55 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Fri, 26 Jan 2007 22:55:12 +0000
(22:55 -0000)
include/libbb.h
patch
|
blob
|
history
diff --git
a/include/libbb.h
b/include/libbb.h
index def6124d7bde787c7c2d4d5d1ac356fb9a7b0bab..d2da056f75980b2b11270616db0348b3bb322747 100644
(file)
--- a/
include/libbb.h
+++ b/
include/libbb.h
@@
-321,7
+321,7
@@
len_and_sockaddr* host2sockaddr(const char *host, int port);
len_and_sockaddr* host_and_af2sockaddr(const char *host, int port, sa_family_t af);
#else
/* [we evaluate af: think about "host_and_af2sockaddr(..., af++)"] */
-#define host_and_af2sockaddr(host, port, af) ((af), host2sockaddr((host), (port)))
+#define host_and_af2sockaddr(host, port, af) ((
void)(
af), host2sockaddr((host), (port)))
#endif
/* Assign sin[6]_port member if the socket is of corresponding type,
* otherwise no-op. Useful for ftp.