]> git.eshelyaron.com Git - emacs.git/commit
Simplify fill_gstring_header
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 7 Apr 2019 18:43:17 +0000 (11:43 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 7 Apr 2019 18:44:04 +0000 (11:44 -0700)
commit404a5470cf1b1ae5bd464aaf8fe909b86faa2e61
tree3808ac97bf29c76b275e0fdf55f0fde85468182b
parent74732c541228ebb9f0a15b0a22132a85b32de89b
Simplify fill_gstring_header

* src/composite.c (fill_gstring_header): Omit first argument HEADER,
since in practice it is always nil.  Change caller to match.
Help the compiler by telling it LEN is nonnegative.
Problem found with --enable-gcc-warnings and gcc -O2 -Og.
src/composite.c