coverity 181576: remove dead code to keep coverity happy
authorAndy Green <andy@warmcat.com>
Wed, 19 Jul 2017 06:25:42 +0000 (14:25 +0800)
committerAndy Green <andy@warmcat.com>
Wed, 19 Jul 2017 06:37:04 +0000 (14:37 +0800)
lib/client.c

index 4bb37cb..c523459 100755 (executable)
@@ -573,7 +573,7 @@ lws_http_transaction_completed_client(struct lws *wsi)
 
        /* we don't support chained client connections yet */
        return 1;
-
+#if 0
        /* otherwise set ourselves up ready to go again */
        wsi->state = LWSS_CLIENT_HTTP_ESTABLISHED;
        wsi->mode = LWSCM_HTTP_CLIENT_ACCEPTED;
@@ -598,6 +598,7 @@ lws_http_transaction_completed_client(struct lws *wsi)
        lwsl_info("%s: %p: keep-alive await new transaction\n", __func__, wsi);
 
        return 0;
+#endif
 }
 
 LWS_VISIBLE LWS_EXTERN unsigned int