aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorPaul Eggert2017-09-09 11:10:35 -0700
committerPaul Eggert2017-09-09 11:11:51 -0700
commitd63123542ffd60dbec0c9038144329b99f0f1d65 (patch)
tree8338da31228034a2e5db48e8e0840d0d126e51ed /src/buffer.c
parent715f0835b5a0c17f2fcb43d1e75d55adce1639a5 (diff)
downloademacs-d63123542ffd60dbec0c9038144329b99f0f1d65.tar.gz
emacs-d63123542ffd60dbec0c9038144329b99f0f1d65.zip
Improve --enable-gcc-warnings for MinGW64
This partially reverts my 2016-05-30 patch. Apparently MinGW64 still requires pacifications that GCC 7.1.1 x86-64 (Fedora 26) does not. Also, pacify tparam.c, which isn’t used on Fedora. * lib-src/etags.c (process_file_name, TeX_commands): * src/buffer.c (fix_overlays_before): * src/data.c (Fmake_variable_buffer_local, cons_to_unsigned) (cons_to_signed): * src/editfns.c (Ftranslate_region_internal): Prefer UNINIT to some stray value, as this simplifies code-reading later. * src/eval.c (CACHEABLE): New macro. (internal_lisp_condition_case): Use it. * src/tparam.c (tparam1): Use FALLTHROUGH to pacify GCC.
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 0827e9ba445..f2689b61fdb 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -3764,7 +3764,7 @@ fix_overlays_before (struct buffer *bp, ptrdiff_t prev, ptrdiff_t pos)
3764 /* If parent is nil, replace overlays_before; otherwise, parent->next. */ 3764 /* If parent is nil, replace overlays_before; otherwise, parent->next. */
3765 struct Lisp_Overlay *tail = bp->overlays_before, *parent = NULL, *right_pair; 3765 struct Lisp_Overlay *tail = bp->overlays_before, *parent = NULL, *right_pair;
3766 Lisp_Object tem; 3766 Lisp_Object tem;
3767 ptrdiff_t end = prev; 3767 ptrdiff_t end UNINIT;
3768 3768
3769 /* After the insertion, the several overlays may be in incorrect 3769 /* After the insertion, the several overlays may be in incorrect
3770 order. The possibility is that, in the list `overlays_before', 3770 order. The possibility is that, in the list `overlays_before',