mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
gpg: Remove all assert.h and s/assert/log_assert/.
Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
9740dff9f4
commit
64bfeafa52
52 changed files with 232 additions and 285 deletions
|
@ -23,7 +23,6 @@
|
|||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
#include <assert.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#include "gpg.h"
|
||||
|
@ -137,7 +136,7 @@ release_armor_context (armor_filter_context_t *afx)
|
|||
{
|
||||
if (!afx)
|
||||
return;
|
||||
assert (afx->refcount);
|
||||
log_assert (afx->refcount);
|
||||
if ( --afx->refcount )
|
||||
return;
|
||||
xfree (afx);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue