summaryrefslogtreecommitdiffstats
path: root/runtime/wti.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-06-23 11:29:47 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2008-06-23 11:29:47 +0200
commitb711a34a075cf3979f48937f8af8b05030644e82 (patch)
treeb2f53af932db04bc0fad95d771a0a70e30ef0125 /runtime/wti.c
parent7b1a570d54ac4c82325aeeee70d7a8871ecd688a (diff)
downloadrsyslog-b711a34a075cf3979f48937f8af8b05030644e82.tar.gz
rsyslog-b711a34a075cf3979f48937f8af8b05030644e82.tar.xz
rsyslog-b711a34a075cf3979f48937f8af8b05030644e82.zip
disabled compile warnings caused by third-party libraries
Diffstat (limited to 'runtime/wti.c')
-rw-r--r--runtime/wti.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/wti.c b/runtime/wti.c
index 0e04200c..7965fa69 100644
--- a/runtime/wti.c
+++ b/runtime/wti.c
@@ -340,6 +340,7 @@ wtiWorkerCancelCleanup(void *arg)
* and would be very hard to debug. The yield() is a sure fix, its performance overhead
* should be well accepted given the above facts. -- rgerhards, 2008-01-10
*/
+#pragma GCC diagnostic ignored "-Wempty-body"
rsRetVal
wtiWorker(wti_t *pThis)
{
@@ -426,6 +427,7 @@ wtiWorker(wti_t *pThis)
RETiRet;
}
+#pragma GCC diagnostic warning "-Wempty-body"
/* some simple object access methods */