diff options
| author | Werner Koch <[email protected]> | 2004-12-18 10:22:10 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2004-12-18 10:22:10 +0000 |
| commit | 3666a2859bd31115708b027cb69fa824c8111de4 (patch) | |
| tree | 97d6df62972435b0b200232225553377bbcb005c /scd/scdaemon.h | |
| parent | 2004-12-17 Moritz Schulte <[email protected]> (diff) | |
| download | gnupg-3666a2859bd31115708b027cb69fa824c8111de4.tar.gz gnupg-3666a2859bd31115708b027cb69fa824c8111de4.zip | |
Avoid the " map_to_assuan_status called with no error source" diagnostic.
Diffstat (limited to 'scd/scdaemon.h')
| -rw-r--r-- | scd/scdaemon.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scd/scdaemon.h b/scd/scdaemon.h index c8d78c88b..c59879448 100644 --- a/scd/scdaemon.h +++ b/scd/scdaemon.h @@ -26,6 +26,9 @@ #endif #define GPG_ERR_SOURCE_DEFAULT GPG_ERR_SOURCE_SCD #include <gpg-error.h> +#define map_assuan_err(a) \ + map_assuan_err_with_source (GPG_ERR_SOURCE_DEFAULT, (a)) + #include <errno.h> #include <time.h> |
