]> git.eshelyaron.com Git - emacs.git/commit
Omit null-pointer test in intervals.h FRAME
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 25 Jun 2017 19:52:37 +0000 (12:52 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 25 Jun 2017 19:54:12 +0000 (12:54 -0700)
commitb2bff45d0f27b3d8c3dfbf6df51dd7adbcb9d9fc
tree5003498b1abebae9ac238bc972c8cbeffdbc2163
parentc05e3aafc86869ba826809effd8ef7e9e5650f83
Omit null-pointer test in intervals.h FRAME

* src/intervals.h (ROOT_INTERVAL_P, ONLY_INTERVAL_P)
(INTERVAL_LAST_POS): Omit unnecessary parens.
(LENGTH): Omit test for null pointer.  The argument is never null.
The unnecessary test causes GCC 7.1.0 to assume that the argument
might be null, and therefore to issue false alarms when the
argument is dereferenced in other expressions.
src/intervals.h