summaryrefslogtreecommitdiffstats
path: root/plugins/omjournal/omjournal.c
diff options
context:
space:
mode:
authorTomas Heinrich <theinric@redhat.com>2013-05-15 16:25:25 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2013-05-20 21:18:46 +0200
commit2203a324c8631df3bfa98235831f47a57e181f37 (patch)
tree375b9d226ab252a8365df7b96e1cd29b357ddcd0 /plugins/omjournal/omjournal.c
parentfaeaaf2d6c5992b0a6cea53011f4caca935da3dd (diff)
downloadrsyslog-2203a324c8631df3bfa98235831f47a57e181f37.tar.gz
rsyslog-2203a324c8631df3bfa98235831f47a57e181f37.tar.bz2
rsyslog-2203a324c8631df3bfa98235831f47a57e181f37.zip
Clean up warnings in imjournal and omjournal
Diffstat (limited to 'plugins/omjournal/omjournal.c')
-rw-r--r--plugins/omjournal/omjournal.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/omjournal/omjournal.c b/plugins/omjournal/omjournal.c
index c340287f..160c369d 100644
--- a/plugins/omjournal/omjournal.c
+++ b/plugins/omjournal/omjournal.c
@@ -107,6 +107,7 @@ CODESTARTnewActInst
* the lst ptr. However, we will most probably need params in the
* future.
*/
+ (void) lst; /* prevent compiler warning */
DBGPRINTF("newActInst (mmjournal)\n");
CODE_STD_STRING_REQUESTnewActInst(1)
CHKiRet(OMSRsetEntry(*ppOMSR, 0, NULL, OMSR_TPL_AS_MSG));
@@ -145,6 +146,7 @@ CODESTARTdoAction
"SYSLOG_IDENTIFIER=%s", tag,
NULL);
/* FIXME: think about what to do with errors ;) */
+ (void) r; /* prevent compiler warning */
ENDdoAction