summaryrefslogtreecommitdiffstats
path: root/g10/gpg.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2004-12-18 11:22:10 +0100
committerWerner Koch <wk@gnupg.org>2004-12-18 11:22:10 +0100
commit3666a2859bd31115708b027cb69fa824c8111de4 (patch)
tree97d6df62972435b0b200232225553377bbcb005c /g10/gpg.h
parent2004-12-17 Moritz Schulte <moritz@g10code.com> (diff)
downloadgnupg2-3666a2859bd31115708b027cb69fa824c8111de4.tar.xz
gnupg2-3666a2859bd31115708b027cb69fa824c8111de4.zip
Avoid the " map_to_assuan_status called with no error source" diagnostic.
Diffstat (limited to 'g10/gpg.h')
-rw-r--r--g10/gpg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/g10/gpg.h b/g10/gpg.h
index bf61411f7..42c9cc662 100644
--- a/g10/gpg.h
+++ b/g10/gpg.h
@@ -29,6 +29,8 @@
#error GPG_ERR_SOURCE_DEFAULT already defined
#endif
#define GPG_ERR_SOURCE_DEFAULT GPG_ERR_SOURCE_GPG
+#define map_assuan_err(a) \
+ map_assuan_err_with_source (GPG_ERR_SOURCE_DEFAULT, (a))
#include <gpg-error.h>