From: Philipp Stephani Date: Mon, 12 Jun 2017 14:37:45 +0000 (+0200) Subject: Remove an assertion that doesn't test Emacs invariants X-Git-Tag: emacs-26.0.90~521^2~110 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=655439b71e25076dab83e8cfe65ef13696ac9a2e;p=emacs.git Remove an assertion that doesn't test Emacs invariants * src/emacs-module.c (module_copy_string_contents): Remove an assertion that doesn't test Emacs invariants. --- diff --git a/src/emacs-module.c b/src/emacs-module.c index 2602398d814..650065d74b9 100644 --- a/src/emacs-module.c +++ b/src/emacs-module.c @@ -545,8 +545,6 @@ module_copy_string_contents (emacs_env *env, emacs_value value, char *buffer, ptrdiff_t raw_size = SBYTES (lisp_str_utf8); ptrdiff_t required_buf_size = raw_size + 1; - eassert (length != NULL); - if (buffer == NULL) { *length = required_buf_size;