summaryrefslogtreecommitdiffstats
path: root/scd/scdaemon.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2011-08-10 14:11:30 +0200
committerWerner Koch <wk@gnupg.org>2011-08-10 14:11:30 +0200
commit816bee1fa0d833ac72ea4e7d52465e6e1da2645d (patch)
tree91be759197e74f2e32f821edecce8df6eb444742 /scd/scdaemon.c
parentFix autoconf warnings and update config.* files. (diff)
downloadgnupg2-816bee1fa0d833ac72ea4e7d52465e6e1da2645d.tar.xz
gnupg2-816bee1fa0d833ac72ea4e7d52465e6e1da2645d.zip
Fixed set but unused variable bugs
Diffstat (limited to 'scd/scdaemon.c')
-rw-r--r--scd/scdaemon.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/scd/scdaemon.c b/scd/scdaemon.c
index 57023958a..0999847ef 100644
--- a/scd/scdaemon.c
+++ b/scd/scdaemon.c
@@ -375,7 +375,6 @@ main (int argc, char **argv )
ARGPARSE_ARGS pargs;
int orig_argc;
gpg_error_t err;
- int may_coredump;
char **orig_argv;
FILE *configfp = NULL;
char *configname = NULL;
@@ -442,7 +441,7 @@ main (int argc, char **argv )
setup_libgcrypt_logging ();
gcry_control (GCRYCTL_USE_SECURE_RNDPOOL);
- may_coredump = disable_core_dumps ();
+ disable_core_dumps ();
/* Set default options. */
opt.allow_admin = 1;