From 5549998ac396841844948d881ad06efb7cb08029 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Sun, 30 Nov 2014 12:40:32 +0800 Subject: [PATCH] coverity 83678 unused assignment Signed-off-by: Andy Green --- lib/extension.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/extension.c b/lib/extension.c index 1e8370c..b7a5792 100644 --- a/lib/extension.c +++ b/lib/extension.c @@ -144,11 +144,8 @@ lws_issue_raw_ext_access(struct libwebsocket *wsi, } /* always either sent it all or privately buffered */ - if (wsi->u.ws.clean_buffer) { - eff_buf.token_len = n; + if (wsi->u.ws.clean_buffer) len = n; - } - } lwsl_parser("written %d bytes to client\n", n); -- 2.7.4