clean partial send handling warning
authorAndy Green <andy.green@linaro.org>
Thu, 22 May 2014 03:12:15 +0000 (11:12 +0800)
committerAndy Green <andy.green@linaro.org>
Thu, 22 May 2014 03:12:15 +0000 (11:12 +0800)
Reported-by: Michael Haberler <mail17@mah.priv.at>
Signed-off-by: Andy Green <andy.green@linaro.org>
lib/extension.c

index a37c39d..3333c1f 100644 (file)
@@ -101,7 +101,7 @@ lws_issue_raw_ext_access(struct libwebsocket *wsi,
        int ret;
        struct lws_tokens eff_buf;
        int m;
-       int n;
+       int n = 0;
 
        eff_buf.token = (char *)buf;
        eff_buf.token_len = len;