aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/imap.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2012-04-13 17:58:41 +0200
committerYang Tse <yangsita@gmail.com>2012-04-13 17:59:49 +0200
commit865893fb143540037ca34f6a4438ebe2e286ec5a (patch)
tree7e915522d0c9e6eafd0a4d30929dfa45c3695da3 /docs/examples/imap.c
parenta60edcc6d445e7e0517589cf5fda2682bd89e34e (diff)
examples: fix compiler warnings
Diffstat (limited to 'docs/examples/imap.c')
-rw-r--r--docs/examples/imap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/examples/imap.c b/docs/examples/imap.c
index eafea81f2..ba07f022a 100644
--- a/docs/examples/imap.c
+++ b/docs/examples/imap.c
@@ -25,7 +25,7 @@
int main(void)
{
CURL *curl;
- CURLcode res;
+ CURLcode res = CURLE_OK;
curl = curl_easy_init();
if(curl) {