From 9fdec30e232e74e103d80049e0772f2d619574cb Mon Sep 17 00:00:00 2001 From: Eric Leblond Date: Tue, 29 Jul 2008 12:24:18 +0200 Subject: cleanup: fix gcc warnings This patch fixes some gcc warnings: * Unused variables * Functions with wrong return (or without return) Signed-off-by: Eric Leblond Signed-off-by: Pablo Neira Ayuso --- src/ulogd.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/ulogd.c b/src/ulogd.c index 4e36984..33d58ee 100644 --- a/src/ulogd.c +++ b/src/ulogd.c @@ -204,7 +204,6 @@ int ulogd_wildcard_inputkeys(struct ulogd_pluginstance *upi) /* second pass: copy key names */ llist_for_each_entry(pi_cur, &stack->list, list) { - struct ulogd_key *cur; int i; for (i = 0; i < pi_cur->plugin->output.num_keys; i++) @@ -1022,7 +1021,7 @@ static struct option opts[] = { { "help", 0, NULL, 'h' }, { "configfile", 1, NULL, 'c'}, { "uid", 1, NULL, 'u' }, - { "info", 1, NULL, 'i'}, + { "info", 1, NULL, 'i' }, { 0 } }; -- cgit v1.2.3