aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2009-12-24 01:51:08 -0500
committerJeff Garzik <jgarzik@redhat.com>2009-12-24 01:51:08 -0500
commitaf13e6d896cd52b283ce89534314876ea859f848 (patch)
tree1aabfb4c1d667ffde7e8277998656c4bd021ec20
parent9ea935e518c923fa34d69e1b24da7d37a7117184 (diff)
downloadrng-tools-af13e6d896cd52b283ce89534314876ea859f848.tar.gz
rng-tools-af13e6d896cd52b283ce89534314876ea859f848.tar.xz
rng-tools-af13e6d896cd52b283ce89534314876ea859f848.zip
rngd: fix build warning
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
-rw-r--r--rngd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/rngd.c b/rngd.c
index 70c14e1..8cb2ed1 100644
--- a/rngd.c
+++ b/rngd.c
@@ -111,8 +111,6 @@ struct arguments *arguments = &default_arguments;
*/
static error_t parse_opt (int key, char *arg, struct argp_state *state)
{
- struct arguments *arguments = state->input;
-
switch(key) {
case 'o':
arguments->random_name = arg;