From d8c7f2e5b6ccc881f38d58fe38bb564dfd1b26b3 Mon Sep 17 00:00:00 2001 From: Joerg Sonnenberger Date: Wed, 2 Aug 2017 00:07:38 +0200 Subject: [PATCH] Revert addition of assert. --- libarchive/archive_string.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libarchive/archive_string.c b/libarchive/archive_string.c index 392cc1103..554533ecb 100644 --- a/libarchive/archive_string.c +++ b/libarchive/archive_string.c @@ -36,7 +36,6 @@ __FBSDID("$FreeBSD: head/lib/libarchive/archive_string.c 201095 2009-12-28 02:33 * without incurring additional memory allocations. */ -#include #ifdef HAVE_ERRNO_H #include #endif @@ -215,7 +214,6 @@ archive_wstring_append(struct archive_wstring *as, const wchar_t *p, size_t s) { if (archive_wstring_ensure(as, as->length + s + 1) == NULL) return (NULL); - assert(p != NULL); if (s) wmemmove(as->s + as->length, p, s); as->length += s; -- 2.47.2