aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2022-09-14 07:59:56 +0000
committerNIIBE Yutaka <[email protected]>2022-09-14 07:59:56 +0000
commite70e09c3d5e7f010f2b9a8c5749710e93ef223be (patch)
tree7245d7f0f8fcd8af553dcae3bd4672b8ad622b01
parentkbx: Fix for GPG_ERR_SOURCE_DEFAULT. (diff)
downloadgnupg-e70e09c3d5e7f010f2b9a8c5749710e93ef223be.tar.gz
gnupg-e70e09c3d5e7f010f2b9a8c5749710e93ef223be.zip
common: Fix for GPG_ERR_SOURCE_DEFAULT check.
* common/init.h: Remove GPG_ERR_SOURCE_UNKNOWN check. -- GnuPG-bug-id: 6200 Signed-off-by: NIIBE Yutaka <[email protected]>
-rw-r--r--common/init.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/common/init.h b/common/init.h
index 3a5becaeb..ddc72ce50 100644
--- a/common/init.h
+++ b/common/init.h
@@ -32,8 +32,6 @@
#ifndef GPG_ERR_SOURCE_DEFAULT
# error GPG_ERR_SOURCE_DEFAULT is not defined
-#elseif GPG_ERR_SOURCE_DEFAULT == GPG_ERR_SOURCE_UNKNOWN
-# error GPG_ERR_SOURCE_DEFAULT has default value
#endif
void register_mem_cleanup_func (void (*func)(void));