diff options
author | Joerg Sonnenberger <joerg@bec.de> | 2017-08-02 00:07:38 +0200 |
---|---|---|
committer | Joerg Sonnenberger <joerg@bec.de> | 2017-08-02 00:07:38 +0200 |
commit | d8c7f2e5b6ccc881f38d58fe38bb564dfd1b26b3 (patch) | |
tree | edd10c6fe58bb45a9dc0f0571cbd3815b3826ef1 /libarchive/archive_string.c | |
parent | 9d5e5f32208a42fc3e7986645a791524939aa9e4 (diff) | |
download | libarchive-d8c7f2e5b6ccc881f38d58fe38bb564dfd1b26b3.tar.gz |
Revert addition of assert.
Diffstat (limited to 'libarchive/archive_string.c')
-rw-r--r-- | libarchive/archive_string.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libarchive/archive_string.c b/libarchive/archive_string.c index 392cc110..554533ec 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 <assert.h> #ifdef HAVE_ERRNO_H #include <errno.h> #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; |