From 5eea240d5e9ba6989387076847947cc436c63390 Mon Sep 17 00:00:00 2001 From: Preston Pfarner Date: Mon, 16 Aug 2010 19:29:47 +0000 Subject: [PATCH] Removing 'unused parameter' warnings if mondemand isn't used. git-svn-id: https://lwes.svn.sourceforge.net/svnroot/lwes/lwes-journaller/trunk@529 a2f82657-cdd2-4550-bd36-68a8e7111808 --- src/lwes_mondemand.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/lwes_mondemand.c b/src/lwes_mondemand.c index 8faed89..62c740f 100644 --- a/src/lwes_mondemand.c +++ b/src/lwes_mondemand.c @@ -77,10 +77,16 @@ void mondemand_log_msg (log_level_t level, const char *fname, int lineno, const void mondemand_stats (const struct stats* stats, time_t now) { + (void)stats; + (void)now; } void mondemand_log_msg (log_level_t level, const char *fname, int lineno, const char *buf) { + (void)level; + (void)fname; + (void)lineno; + (void)buf; } #endif /* HAVE_MONDEMAND */ -- 2.11.4.GIT