[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 655439b 1/2: Remove an assertion that doesn't test
From: |
Philipp Stephani |
Subject: |
[Emacs-diffs] master 655439b 1/2: Remove an assertion that doesn't test Emacs invariants |
Date: |
Mon, 12 Jun 2017 10:40:02 -0400 (EDT) |
branch: master
commit 655439b71e25076dab83e8cfe65ef13696ac9a2e
Author: Philipp Stephani <address@hidden>
Commit: Philipp Stephani <address@hidden>
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 2602398..650065d 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;