aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c
diff options
context:
space:
mode:
authorPaul Eggert2016-12-22 09:25:58 -0800
committerPaul Eggert2016-12-22 09:26:43 -0800
commitb10bd71987cdeb753c106145d6270a359505359c (patch)
tree56f724cd13b7e75613534dc7a013ad3fdcc562c1 /src/window.c
parent5fcc777ff36c3102ddddd2fb932cb8d0b7cc2741 (diff)
downloademacs-b10bd71987cdeb753c106145d6270a359505359c.tar.gz
emacs-b10bd71987cdeb753c106145d6270a359505359c.zip
Pacify --enable-gcc-warnings
* src/charset.c (load_charset_map): * src/coding.c (decode_coding_object): * src/frame.c (make_frame): * src/window.c (Frecenter): Mark locals with UNINIT to silence false alarms from -Wmaybe-uninitialized. * src/lisp.h (SYMBOL_ALIAS, SYMBOL_BLV, SYMBOL_FWD) (SET_SYMBOL_ALIAS, SET_SYMBOL_BLV, SET_SYMBOL_FWD): Check and assume that values are nonnull. This pacifies -Wmaybe-uninitialized in Fmake_variable_buffer_local and Fmake_local_variable.
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.c b/src/window.c
index c3e693182c6..6cfba084493 100644
--- a/src/window.c
+++ b/src/window.c
@@ -5683,7 +5683,7 @@ and redisplay normally--don't erase and redraw the frame. */)
5683 struct buffer *buf = XBUFFER (w->contents); 5683 struct buffer *buf = XBUFFER (w->contents);
5684 bool center_p = false; 5684 bool center_p = false;
5685 ptrdiff_t charpos, bytepos; 5685 ptrdiff_t charpos, bytepos;
5686 EMACS_INT iarg; 5686 EMACS_INT iarg UNINIT;
5687 int this_scroll_margin; 5687 int this_scroll_margin;
5688 5688
5689 if (buf != current_buffer) 5689 if (buf != current_buffer)