diff options
| author | Philipp Stephani | 2017-06-12 16:37:45 +0200 |
|---|---|---|
| committer | Philipp Stephani | 2017-06-12 16:37:45 +0200 |
| commit | 655439b71e25076dab83e8cfe65ef13696ac9a2e (patch) | |
| tree | b4301c9dc6f6de7556d5d1476a680596c9584e7f | |
| parent | 272235c1d57c35b6cefa8c721e009a445de69dee (diff) | |
| download | emacs-655439b71e25076dab83e8cfe65ef13696ac9a2e.tar.gz emacs-655439b71e25076dab83e8cfe65ef13696ac9a2e.zip | |
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.
| -rw-r--r-- | src/emacs-module.c | 2 |
1 files changed, 0 insertions, 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, | |||
| 545 | ptrdiff_t raw_size = SBYTES (lisp_str_utf8); | 545 | ptrdiff_t raw_size = SBYTES (lisp_str_utf8); |
| 546 | ptrdiff_t required_buf_size = raw_size + 1; | 546 | ptrdiff_t required_buf_size = raw_size + 1; |
| 547 | 547 | ||
| 548 | eassert (length != NULL); | ||
| 549 | |||
| 550 | if (buffer == NULL) | 548 | if (buffer == NULL) |
| 551 | { | 549 | { |
| 552 | *length = required_buf_size; | 550 | *length = required_buf_size; |