projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b53430
)
compiler warning: fix followup
author
Yang Tse
<yangsita@gmail.com>
Wed, 25 May 2011 07:56:57 +0000
(09:56 +0200)
committer
Yang Tse
<yangsita@gmail.com>
Wed, 25 May 2011 07:56:57 +0000
(09:56 +0200)
Fix compiler warning: variable was set but never used
Fix compiler warning: clobber ignored
lib/warnless.h
patch
|
blob
|
history
diff --git
a/lib/warnless.h
b/lib/warnless.h
index
a27c7d3
..
dfa16ef
100644
(file)
--- a/
lib/warnless.h
+++ b/
lib/warnless.h
@@
-47,8
+47,11
@@
void curlx_FD_SET(int fd, fd_set *fdset);
void curlx_FD_ZERO(fd_set *fdset);
#ifndef BUILDING_WARNLESS_C
+# undef FD_ISSET
# define FD_ISSET(a,b) curlx_FD_ISSET((a),(b))
+# undef FD_SET
# define FD_SET(a,b) curlx_FD_SET((a),(b))
+# undef FD_ZERO
# define FD_ZERO(a) curlx_FD_ZERO((a))
#endif