1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

oops, could return an uninitialized variable

This commit is contained in:
Daniel Stenberg 2006-05-09 13:02:53 +00:00
parent 77475f2ad0
commit c811e1ce70

View File

@ -258,7 +258,7 @@ static CURLcode tftp_send_first(tftp_state_data_t *state, tftp_event_t event)
name so we skip the always-present first letter of the path string. */ name so we skip the always-present first letter of the path string. */
char *filename = &state->conn->path[1]; char *filename = &state->conn->path[1];
struct SessionHandle *data = state->conn->data; struct SessionHandle *data = state->conn->data;
CURLcode res; CURLcode res = CURLE_OK;
/* Set ascii mode if -B flag was used */ /* Set ascii mode if -B flag was used */
if(data->set.ftp_ascii) if(data->set.ftp_ascii)