summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2012-08-24 17:50:21 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2012-08-26 10:14:28 +0200
commit7d58175dbe89502352a044c0d131aa4c5e2b3f37 (patch)
treea89f7cdedd4352720aaab0cc182272cc08b53c59
parentde71589ca3145dfbe8e34790bb49e3d86d3d3bce (diff)
downloadrsyslog-7d58175dbe89502352a044c0d131aa4c5e2b3f37.zip
rsyslog-7d58175dbe89502352a044c0d131aa4c5e2b3f37.tar.gz
rsyslog-7d58175dbe89502352a044c0d131aa4c5e2b3f37.tar.xz
Silence compiler warnings about unused parameters.
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
-rw-r--r--plugins/ommongodb/ommongodb.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/ommongodb/ommongodb.c b/plugins/ommongodb/ommongodb.c
index 39e2e4f..d122b6f 100644
--- a/plugins/ommongodb/ommongodb.c
+++ b/plugins/ommongodb/ommongodb.c
@@ -120,6 +120,7 @@ ENDfreeInstance
BEGINdbgPrintInstInfo
CODESTARTdbgPrintInstInfo
/* nothing special here */
+ (void)pData;
ENDdbgPrintInstInfo
@@ -139,6 +140,8 @@ reportMongoError(instanceData *pData)
errmsg.LogError(0, RS_RET_ERR, "ommongodb: we had an error, but can "
"not obtain specifics");
}
+#else
+ (void)pData;
#endif
}