1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

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 <gniibe@fsij.org>
This commit is contained in:
NIIBE Yutaka 2022-09-14 16:59:56 +09:00
parent d55728539f
commit e70e09c3d5
No known key found for this signature in database
GPG Key ID: 640114AF89DE6054

View File

@ -32,8 +32,6 @@
#ifndef GPG_ERR_SOURCE_DEFAULT #ifndef GPG_ERR_SOURCE_DEFAULT
# error GPG_ERR_SOURCE_DEFAULT is not defined # 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 #endif
void register_mem_cleanup_func (void (*func)(void)); void register_mem_cleanup_func (void (*func)(void));