aboutsummaryrefslogtreecommitdiffstats
path: root/g13/g13.c
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2012-01-03 16:08:01 +0000
committerMarcus Brinkmann <[email protected]>2012-01-03 16:08:01 +0000
commit0dce26778ef8abd4fc40de689d7ec9b720d26430 (patch)
treed0431d510183fac4fe72a7908a8ac6c3f01e3f43 /g13/g13.c
parentFix last change: Only set gcrypt thread callback for older versions. (diff)
downloadgnupg-0dce26778ef8abd4fc40de689d7ec9b720d26430.tar.gz
gnupg-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 'g13/g13.c')
-rw-r--r--g13/g13.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/g13/g13.c b/g13/g13.c
index bc05977c5..0f7309490 100644
--- a/g13/g13.c
+++ b/g13/g13.c
@@ -686,6 +686,7 @@ main ( int argc, char **argv)
#endif /*0*/
/* Dispatch command. */
+ err = 0;
switch (cmd)
{
case aGPGConfList: