From 9ea7b6f8aefccafaa8dc3a75fc57a2d1bd60a94b Mon Sep 17 00:00:00 2001 From: Sergey Lyubka Date: Fri, 10 Jan 2014 11:11:26 +0000 Subject: [PATCH] Removed unnecessary buffer initializer --- mongoose.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mongoose.c b/mongoose.c index ef023ff0..e972d294 100644 --- a/mongoose.c +++ b/mongoose.c @@ -3159,7 +3159,7 @@ static void handle_lsp_request(struct connection *conn, const char *path, static void open_local_endpoint(struct connection *conn) { static const char lua_pat[] = LUA_SCRIPT_PATTERN; - char path[MAX_PATH_SIZE] = {'\0'}; + char path[MAX_PATH_SIZE]; file_stat_t st; int exists = 0, is_directory = 0; const char *cl_hdr = mg_get_header(&conn->mg_conn, "Content-Length");