diff options
| author | Paul Eggert | 2017-06-04 23:52:10 -0700 |
|---|---|---|
| committer | Paul Eggert | 2017-06-04 23:53:47 -0700 |
| commit | 620d65370afd319b706cea0eccffd0ee0ffd2e26 (patch) | |
| tree | 7f2f83a3946f489647e29e7c3d3a93b59773a86f /src/buffer.c | |
| parent | cef90102cb0366f26a9cf618497793d223d60a66 (diff) | |
| download | emacs-620d65370afd319b706cea0eccffd0ee0ffd2e26.tar.gz emacs-620d65370afd319b706cea0eccffd0ee0ffd2e26.zip | |
Remove unnecessary checking in emacs-module.c
* src/emacs-module.c (module_copy_string_contents):
Remove checking, as string lengths are always nonnegative and less
than STRING_BYTES_BOUND, and this is checked elsewhere.
(module_make_string): Check length against STRING_BYTES_BOUND, a
tighter bound than MOST_POSITIVE_FIXNUM. (funcall_module): Don't
assume that an out-of-range integer is nonnegative.
Diffstat (limited to 'src/buffer.c')
0 files changed, 0 insertions, 0 deletions