From 64bfeafa52a5ed3fa82bdc0ce7ef0edddeef188c Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 29 Apr 2016 11:05:24 +0200 Subject: gpg: Remove all assert.h and s/assert/log_assert/. Signed-off-by: Werner Koch --- g10/plaintext.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'g10/plaintext.c') diff --git a/g10/plaintext.c b/g10/plaintext.c index 94ede07ef..e118f6b4d 100644 --- a/g10/plaintext.c +++ b/g10/plaintext.c @@ -23,7 +23,6 @@ #include #include #include -#include #include #ifdef HAVE_DOSISH_SYSTEM # include /* for setmode() */ @@ -636,7 +635,7 @@ ask_for_detached_datafile (gcry_md_hd_t md, gcry_md_hd_t md2, if (opt.verbose) log_info (_("reading stdin ...\n")); fp = iobuf_open (NULL); - assert (fp); + log_assert (fp); } do_hash (md, md2, fp, textmode); iobuf_close (fp); -- cgit v1.2.3