aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2012-03-16 20:06:18 +0100
committerYang Tse <yangsita@gmail.com>2012-03-16 20:06:18 +0100
commitb329fc70233be0f79c63a1dc6cc24ef49c70fdbb (patch)
treef167bc7a922f0286e029dd808d3293c5d87ee5a4
parent8af4b657d0f44bd6f2b1d672666c046e53af0e0c (diff)
fix several compiler warnings
-rw-r--r--src/tool_easysrc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tool_easysrc.c b/src/tool_easysrc.c
index f672386a1..00dbd0ac3 100644
--- a/src/tool_easysrc.c
+++ b/src/tool_easysrc.c
@@ -124,7 +124,7 @@ CURLcode easysrc_addf(struct curl_slist **plist, const char *fmt, ...)
return ret;
}
-#define CHKRET(v) do {CURLcode ret = (v); if(ret) return ret;} while(0)
+#define CHKRET(v) do {CURLcode ret = (v); if(ret) return ret;} WHILE_FALSE
CURLcode easysrc_init(void)
{