From 74f93d190b963016847a38490b5e91049b7a24fd Mon Sep 17 00:00:00 2001 From: Andy Green Date: Sun, 30 Nov 2014 12:30:36 +0800 Subject: [PATCH] coverity 83680 kill needless semicolons Signed-off-by: Andy Green --- lib/private-libwebsockets.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/private-libwebsockets.h b/lib/private-libwebsockets.h index 98cf5050..f053ae76 100755 --- a/lib/private-libwebsockets.h +++ b/lib/private-libwebsockets.h @@ -859,9 +859,9 @@ lws_rxflow_cache(struct libwebsocket *wsi, unsigned char *buf, int n, int len); #ifndef LWS_LATENCY static inline void lws_latency(struct libwebsocket_context *context, struct libwebsocket *wsi, const char *action, - int ret, int completion) { while (0); } + int ret, int completion) { do { } while (0); } static inline void lws_latency_pre(struct libwebsocket_context *context, - struct libwebsocket *wsi) { while (0); } + struct libwebsocket *wsi) { do { } while (0); } #else #define lws_latency_pre(_context, _wsi) lws_latency(_context, _wsi, NULL, 0, 0) extern void