pop3.c: fix compiler warning variable may be used uninitialized
This commit is contained in:
parent
07efe110cc
commit
b9b772fefe
@ -1036,7 +1036,7 @@ CURLcode Curl_pop3_write(struct connectdata *conn,
|
|||||||
size_t nread)
|
size_t nread)
|
||||||
{
|
{
|
||||||
/* This code could be made into a special function in the handler struct. */
|
/* 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 SessionHandle *data = conn->data;
|
||||||
struct SingleRequest *k = &data->req;
|
struct SingleRequest *k = &data->req;
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#ifndef __POP3_H
|
#ifndef HEADER_CURL_POP3_H
|
||||||
#define __POP3_H
|
#define HEADER_CURL_POP3_H
|
||||||
/***************************************************************************
|
/***************************************************************************
|
||||||
* _ _ ____ _
|
* _ _ ____ _
|
||||||
* Project ___| | | | _ \| |
|
* Project ___| | | | _ \| |
|
||||||
@ -61,4 +61,4 @@ CURLcode Curl_pop3_write(struct connectdata *conn,
|
|||||||
char *str,
|
char *str,
|
||||||
size_t nread);
|
size_t nread);
|
||||||
|
|
||||||
#endif /* __POP3_H */
|
#endif /* HEADER_CURL_POP3_H */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user