[Pkg-gnupg-commit] [gnupg2] 91/160: g10: Fix build with disabled kbnode cache.
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Fri Jul 15 09:36:39 UTC 2016
This is an automated email from the git hooks/post-receive script.
dkg pushed a commit to branch upstream
in repository gnupg2.
commit ff77b92aae9c8e20cbc7fa7c294adcc6a8c2f614
Author: Justus Winter <justus at g10code.com>
Date: Fri Jul 1 12:50:29 2016 +0200
g10: Fix build with disabled kbnode cache.
* g10/kbnode.c (release_unused_nodes): Fix build with disabled kbnode
cache.
Signed-off-by: Justus Winter <justus at g10code.com>
---
g10/kbnode.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/g10/kbnode.c b/g10/kbnode.c
index a1d1f3d..e814fa8 100644
--- a/g10/kbnode.c
+++ b/g10/kbnode.c
@@ -34,18 +34,18 @@
static int cleanup_registered;
static KBNODE unused_nodes;
-#if USE_UNUSED_NODES
static void
release_unused_nodes (void)
{
+#if USE_UNUSED_NODES
while (unused_nodes)
{
kbnode_t next = unused_nodes->next;
xfree (unused_nodes);
unused_nodes = next;
}
-}
#endif /*USE_UNUSED_NODES*/
+}
static kbnode_t
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git
More information about the Pkg-gnupg-commit
mailing list