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:
d44b014
)
ftp: Fixed compiler warning
author
Steve Holme
<steve_holme@hotmail.com>
Sat, 26 Oct 2013 23:00:01 +0000
(
00:00
+0100)
committer
Steve Holme
<steve_holme@hotmail.com>
Sat, 26 Oct 2013 23:00:01 +0000
(
00:00
+0100)
warning: 'result' may be used uninitialized in this function
lib/ftp.c
patch
|
blob
|
history
diff --git
a/lib/ftp.c
b/lib/ftp.c
index 487f9d5a4c3a2a59dc8f335d10d2310251b30b5f..e66a8a808845c9832ed614e6a7c8ee09ea882428 100644
(file)
--- a/
lib/ftp.c
+++ b/
lib/ftp.c
@@
-1810,8
+1810,8
@@
static CURLcode proxy_magic(struct connectdata *conn,
char *newhost, unsigned short newport,
bool *magicdone)
{
+ CURLcode result = CURLE_OK;
struct SessionHandle *data=conn->data;
- CURLcode result;
*magicdone = FALSE;
switch(conn->proxytype) {