From 655439b71e25076dab83e8cfe65ef13696ac9a2e Mon Sep 17 00:00:00 2001 From: Philipp Stephani Date: Mon, 12 Jun 2017 16:37:45 +0200 Subject: [PATCH] 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. --- src/emacs-module.c | 2 -- 1 file changed, 2 deletions(-) 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; -- 2.39.2