From 46dbd8dda97947713d76e814b3053760a106d63f Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Thu, 15 Nov 2012 09:24:30 +0100 Subject: minor cleanup --- plugins/imfile/imfile.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'plugins/imfile/imfile.c') diff --git a/plugins/imfile/imfile.c b/plugins/imfile/imfile.c index 453b6b05..188d692b 100644 --- a/plugins/imfile/imfile.c +++ b/plugins/imfile/imfile.c @@ -308,14 +308,6 @@ finalize_it: /* submit everything that was not yet submitted */ CHKiRet(multiSubmitMsg(&pThis->multiSub)); } - ; /*EMPTY STATEMENT - needed to keep compiler happy - see below! */ - /* Note: the problem above is that pthread:cleanup_pop() is a macro which - * evaluates to something like "} while(0);". So the code would become - * "finalize_it: }", that is a label without a statement. The C standard does - * not permit this. So we add an empty statement "finalize_it: ; }" and - * everybody is happy. Note that without the ;, an error is reported only - * on some platforms/compiler versions. -- rgerhards, 2008-08-15 - */ pthread_cleanup_pop(0); if(pCStr != NULL) { -- cgit v1.2.3