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 /tcpsrv.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 'tcpsrv.c')
-rw-r--r-- | tcpsrv.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -392,7 +392,10 @@ RunCancelCleanup(void *arg) if(*ppSel != NULL) nssel.Destruct(ppSel); } + + /* This function is called to gather input. */ +#pragma GCC diagnostic ignored "-Wempty-body" static rsRetVal Run(tcpsrv_t *pThis) { @@ -496,6 +499,7 @@ finalize_it: /* this is a very special case - this time only we do not exit the RETiRet; } +#pragma GCC diagnostic warning "-Wempty-body" /* Standard-Constructor */ |