diff options
author | Eric Leblond <eric@inl.fr> | 2008-07-29 12:24:18 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2008-07-29 12:24:18 +0200 |
commit | 9fdec30e232e74e103d80049e0772f2d619574cb (patch) | |
tree | 2accb1df1bf455458c16023f189bb730f6085fd1 /src/ulogd.c | |
parent | cd8abed46eff3683a5d81e500673df5e80e2a353 (diff) |
cleanup: fix gcc warnings
This patch fixes some gcc warnings:
* Unused variables
* Functions with wrong return (or without return)
Signed-off-by: Eric Leblond <eric@inl.fr>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/ulogd.c')
-rw-r--r-- | src/ulogd.c | 3 |
1 files changed, 1 insertions, 2 deletions
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 } }; |