diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-06-23 11:29:47 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-06-23 11:29:47 +0200 |
commit | b711a34a075cf3979f48937f8af8b05030644e82 (patch) | |
tree | b2f53af932db04bc0fad95d771a0a70e30ef0125 /runtime/wti.c | |
parent | 7b1a570d54ac4c82325aeeee70d7a8871ecd688a (diff) | |
download | rsyslog-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.c | 2 |
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 */ |