Squashed warnings

This commit is contained in:
Sergey Lyubka committed 2013-09-12 10:03:04 +01:00
1 parent 0d40364089
commit 5bb361b1d2
2 files changed
+3 -3

No files matched your search

+1 -2
View File
@@ -344,10 +344,9 @@ static void lsp_send_err(struct mg_connection *conn, struct lua_State *L,
const char *fmt, ...) {
char buf[MG_BUF_LEN];
va_list ap;
int len;
va_start(ap, fmt);
len = vsnprintf(buf, sizeof(buf), fmt, ap);
vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
if (L == NULL) {