From 80e3e723e33fe0424e91455f4a2e624f51fde5c2 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Mon, 19 Mar 2018 08:28:28 +0800 Subject: [PATCH] coverity 188326: hide supposed dead code from coverity with NO_EXTENSIONS --- lib/output.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/output.c b/lib/output.c index 84e85e7b1..1da9af890 100644 --- a/lib/output.c +++ b/lib/output.c @@ -49,7 +49,9 @@ int lws_issue_raw(struct lws *wsi, unsigned char *buf, size_t len) struct lws_context_per_thread *pt = &wsi->context->pt[(int)wsi->tsi]; size_t real_len = len; unsigned int n; +#if !defined(LWS_NO_EXTENSIONS) int m; +#endif /* * Detect if we got called twice without going through the