aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c
diff options
context:
space:
mode:
authorPaul Eggert2016-06-08 10:33:34 -0700
committerPaul Eggert2016-06-08 11:50:42 -0700
commit82f49c6a373f981a778f4d939ca2d47c031e0659 (patch)
treee84afa8e7af336f15f37789fbf23f4ec62905790 /src/window.c
parent7715ee54b3588cfdef03b5d45aaf44b73b422ec6 (diff)
downloademacs-82f49c6a373f981a778f4d939ca2d47c031e0659.tar.gz
emacs-82f49c6a373f981a778f4d939ca2d47c031e0659.zip
Replace IF_LINT by NONVOLATILE and UNINIT
Inspired by a suggestion from RMS in: http://bugs.gnu.org/23640#58 * .dir-locals.el (c-mode): Adjust to macro changes. * src/conf_post.h (NONVOLATILE, UNINIT): New macros (Bug#23640). (IF_LINT): Remove. All uses replaced by the new macros.
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/window.c b/src/window.c
index 99a0709d627..fe10241c45c 100644
--- a/src/window.c
+++ b/src/window.c
@@ -2910,9 +2910,11 @@ window-start value is reasonable when this function is called. */)
2910{ 2910{
2911 struct window *w, *r, *s; 2911 struct window *w, *r, *s;
2912 struct frame *f; 2912 struct frame *f;
2913 Lisp_Object sibling, pwindow, swindow IF_LINT (= Qnil), delta; 2913 Lisp_Object sibling, pwindow, delta;
2914 ptrdiff_t startpos IF_LINT (= 0), startbyte IF_LINT (= 0); 2914 Lisp_Object swindow UNINIT;
2915 int top IF_LINT (= 0), new_top; 2915 ptrdiff_t startpos UNINIT, startbyte UNINIT;
2916 int top UNINIT;
2917 int new_top;
2916 bool resize_failed = false; 2918 bool resize_failed = false;
2917 2919
2918 w = decode_valid_window (window); 2920 w = decode_valid_window (window);