diff options
author | Yang Tse <yangsita@gmail.com> | 2011-12-13 15:58:02 +0100 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2011-12-13 15:58:02 +0100 |
commit | b9b772fefe5f9e3ab90640f4536ab4c172658407 (patch) | |
tree | bf91aed9dec80802e6ed6bfb1f0b8dc1a0df6ce4 /lib/pop3.c | |
parent | 07efe110cc7dce18e6ef4ff73b1acbd30842471c (diff) |
pop3.c: fix compiler warning variable may be used uninitialized
Diffstat (limited to 'lib/pop3.c')
-rw-r--r-- | lib/pop3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pop3.c b/lib/pop3.c index 2252c57f8..6796cf76f 100644 --- a/lib/pop3.c +++ b/lib/pop3.c @@ -1036,7 +1036,7 @@ CURLcode Curl_pop3_write(struct connectdata *conn, size_t nread) { /* This code could be made into a special function in the handler struct. */ - CURLcode result; + CURLcode result = CURLE_OK; struct SessionHandle *data = conn->data; struct SingleRequest *k = &data->req; |