mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
gpgsm: Replace all assert calls by log_assert.
-- Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
a6a4bbf6de
commit
9ee975d588
19 changed files with 29 additions and 44 deletions
|
@ -22,7 +22,6 @@
|
|||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <stdarg.h>
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include "gpgsm.h"
|
||||
|
@ -106,7 +105,7 @@ read_list (char *key, char *country, int *lnr)
|
|||
listname, *lnr);
|
||||
return gpg_error (GPG_ERR_BAD_DATA);
|
||||
}
|
||||
assert (p[i]);
|
||||
log_assert (p[i]);
|
||||
i++;
|
||||
while (spacep (p+i))
|
||||
i++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue