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/wtp.c | |
parent | 7b1a570d54ac4c82325aeeee70d7a8871ecd688a (diff) | |
download | rsyslog-b711a34a075cf3979f48937f8af8b05030644e82.tar.gz rsyslog-b711a34a075cf3979f48937f8af8b05030644e82.tar.bz2 rsyslog-b711a34a075cf3979f48937f8af8b05030644e82.zip |
disabled compile warnings caused by third-party libraries
Diffstat (limited to 'runtime/wtp.c')
-rw-r--r-- | runtime/wtp.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/wtp.c b/runtime/wtp.c index 0658232b..967bfaf5 100644 --- a/runtime/wtp.c +++ b/runtime/wtp.c @@ -244,6 +244,7 @@ wtpChkStopWrkr(wtp_t *pThis, int bLockMutex, int bLockUsrMutex) } +#pragma GCC diagnostic ignored "-Wempty-body" /* Send a shutdown command to all workers and see if they terminate. * A timeout may be specified. * rgerhards, 2008-01-14 @@ -292,6 +293,7 @@ wtpShutdownAll(wtp_t *pThis, wtpState_t tShutdownCmd, struct timespec *ptTimeout RETiRet; } +#pragma GCC diagnostic warning "-Wempty-body" /* indicate that a thread has terminated and awake anyone waiting on it @@ -382,6 +384,7 @@ wtpWrkrExecCancelCleanup(void *arg) * wti worker. * rgerhards, 2008-01-21 */ +#pragma GCC diagnostic ignored "-Wempty-body" static void * wtpWorker(void *arg) /* the arg is actually a wti object, even though we are in wtp! */ { @@ -435,6 +438,7 @@ wtpWorker(void *arg) /* the arg is actually a wti object, even though we are in ENDfunc pthread_exit(0); } +#pragma GCC diagnostic warning "-Wempty-body" /* start a new worker */ |