From 787b84e35c1f072938d1c12779a0cdc19e333db4 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 23565af04..697514ddb 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?