From 944a78dc58fc30730de9635a9fb865d474487845 Mon Sep 17 00:00:00 2001 From: Andreas Pakulat Date: Mon, 4 Nov 2013 12:51:50 +0100 Subject: [PATCH] protect the label with an ifdef The only part that actually goes to this label is inside such an ifdef, so building without extension support makes gcc bail out since an unused label is considered an error in this project. --- lib/output.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/output.c b/lib/output.c index 5a661b05..a375dea2 100644 --- a/lib/output.c +++ b/lib/output.c @@ -159,7 +159,9 @@ int lws_issue_raw(struct libwebsocket *wsi, unsigned char *buf, size_t len) } #endif +#ifndef LWS_NO_EXTENSIONS handle_truncated_send: +#endif /* * already handling a truncated send?