summaryrefslogtreecommitdiffstats
path: root/g10/misc.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2010-10-13 17:57:08 +0200
committerWerner Koch <wk@gnupg.org>2010-10-13 17:57:08 +0200
commit54591341a417ca769b2219a9b2f7683f11a74718 (patch)
treed4cd49932dec93aa9e20e1933ad16ba897965c46 /g10/misc.c
parentDescribe %v and %V. (diff)
downloadgnupg2-54591341a417ca769b2219a9b2f7683f11a74718.tar.xz
gnupg2-54591341a417ca769b2219a9b2f7683f11a74718.zip
More agent support for gpg.
Diffstat (limited to 'g10/misc.c')
-rw-r--r--g10/misc.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/g10/misc.c b/g10/misc.c
index 91d1c310a..e3bebdd20 100644
--- a/g10/misc.c
+++ b/g10/misc.c
@@ -555,11 +555,10 @@ get_signature_count (PKT_public_key *pk)
/* if(agent_scd_getattr("SIG-COUNTER",&info)==0) */
/* return info.sig_counter; */
/* } */
-#endif
-
- /* How to do this without a card? */
-
+#else
+ (void)pk;
return 0;
+#endif
}
/* Expand %-strings. Returns a string which must be xfreed. Returns