summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVladimir Kobal <vlad@prokk.net>2019-02-26 14:51:24 +0200
committerGitHub <noreply@github.com>2019-02-26 14:51:24 +0200
commit81bf7a7180270f4b4c12a77a91e35f58a99f36e4 (patch)
tree64e5fbcbe49c62c1d1dabd43056865f2ffd546f6
parent88d191cf32f8bdcbb40e370325b3e6f3d9971c31 (diff)
Fix CMake warning (#5379)
-rw-r--r--collectors/nfacct.plugin/plugin_nfacct.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/collectors/nfacct.plugin/plugin_nfacct.c b/collectors/nfacct.plugin/plugin_nfacct.c
index b6788e6180..5458998245 100644
--- a/collectors/nfacct.plugin/plugin_nfacct.c
+++ b/collectors/nfacct.plugin/plugin_nfacct.c
@@ -903,6 +903,9 @@ int main(int argc, char **argv) {
#else // !HAVE_LIBMNL
int main(int argc, char **argv) {
+ (void)argc;
+ (void)argv;
+
fatal("nfacct.plugin is not compiled.");
}