From c811e1ce70add2bfecb97732ffc4644a2e6ea752 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 9 May 2006 13:02:53 +0000 Subject: [PATCH] oops, could return an uninitialized variable --- lib/tftp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tftp.c b/lib/tftp.c index 568d12cbb..7a347b5c3 100644 --- a/lib/tftp.c +++ b/lib/tftp.c @@ -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. */ char *filename = &state->conn->path[1]; struct SessionHandle *data = state->conn->data; - CURLcode res; + CURLcode res = CURLE_OK; /* Set ascii mode if -B flag was used */ if(data->set.ftp_ascii)