NO_SERVER_fix cosmetic warning
authorAndy Green <andy.green@linaro.org>
Wed, 10 Dec 2014 02:24:33 +0000 (10:24 +0800)
committerAndy Green <andy.green@linaro.org>
Wed, 10 Dec 2014 02:24:33 +0000 (10:24 +0800)
Signed-off-by: Andy Green <andy.green@linaro.org>
lib/service.c

index d06bba1..7b7a4fb 100644 (file)
@@ -566,6 +566,9 @@ drain:
                        lwsl_info("flow buffer: drained\n");
                        lws_free2(wsi->rxflow_buffer);
                        /* having drained the rxflow buffer, can rearm POLLIN */
+#ifdef LWS_NO_SERVER
+                       n =
+#endif
                        _libwebsocket_rx_flow_control(wsi); /* n ignored, needed for NO_SERVER case */
                }