From 27445a82f04ff848993821de1596923441859838 Mon Sep 17 00:00:00 2001 From: Philipp Stephani Date: Sun, 4 Jun 2017 19:26:24 +0200 Subject: [PATCH] Remove an unneeded assertion * src/emacs-module.c (module_copy_string_contents): Remove unneeded assertion. If this assertion triggers, we raise an error anyway. --- src/emacs-module.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/emacs-module.c b/src/emacs-module.c index f7facb955bf..187a620cc08 100644 --- a/src/emacs-module.c +++ b/src/emacs-module.c @@ -504,8 +504,6 @@ module_copy_string_contents (emacs_env *env, emacs_value value, char *buffer, return true; } - eassert (*length >= 0); - if (*length < required_buf_size) { *length = required_buf_size; -- 2.39.2