summaryrefslogtreecommitdiffstats
path: root/tcpsrv.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 /tcpsrv.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 'tcpsrv.c')
-rw-r--r--tcpsrv.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tcpsrv.c b/tcpsrv.c
index 0ae1f423..94bcaaa7 100644
--- a/tcpsrv.c
+++ b/tcpsrv.c
@@ -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 */