diff options
author | Marcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de> | 2012-01-03 17:08:01 +0100 |
---|---|---|
committer | Marcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de> | 2012-01-03 17:08:01 +0100 |
commit | 0dce26778ef8abd4fc40de689d7ec9b720d26430 (patch) | |
tree | d0431d510183fac4fe72a7908a8ac6c3f01e3f43 /scd/scdaemon.c | |
parent | Fix last change: Only set gcrypt thread callback for older versions. (diff) | |
download | gnupg2-0dce26778ef8abd4fc40de689d7ec9b720d26430.tar.xz gnupg2-0dce26778ef8abd4fc40de689d7ec9b720d26430.zip |
Fix compiler warnings.
* common/dotlock.c (use_hardlinks_p, dotlock_take_unix): Check return
value of link().
* g13/g13.c: Make sure err is initialized.
* scd/scdaemon.c (main) [!USE_GCRY_THREAD_CBS]: Do not define ERR.
Diffstat (limited to 'scd/scdaemon.c')
-rw-r--r-- | scd/scdaemon.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scd/scdaemon.c b/scd/scdaemon.c index 6f8d01049..e26beba13 100644 --- a/scd/scdaemon.c +++ b/scd/scdaemon.c @@ -382,7 +382,9 @@ main (int argc, char **argv ) { ARGPARSE_ARGS pargs; int orig_argc; +#ifdef USE_GCRY_THREAD_CBS gpg_error_t err; +#endif char **orig_argv; FILE *configfp = NULL; char *configname = NULL; |