aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/url.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/url.c b/lib/url.c
index 7f204e15f..b871bd634 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -3732,7 +3732,7 @@ static CURLcode parseurlandfillconn(struct SessionHandle *data,
char *path = data->state.path;
char *query;
int rc;
- char protobuf[16];
+ char protobuf[16] = "";
const char *protop = "";
CURLcode result;
bool rebuild_url = FALSE;