Commit f0cb4a60 authored by Paul Eggert's avatar Paul Eggert

* insdel.c (CHECK_MARKERS): Redo to avoid gcc -Wempty-body diagnostic.

parent 85876d07
......@@ -2,6 +2,7 @@
* insdel.c (check_markers, make_gap_larger, make_gap_smaller):
(reset_var_on_error, Fcombine_after_change_execute_1): Now static.
(CHECK_MARKERS): Redo to avoid gcc -Wempty-body diagnostic.
* filelock.c (within_one_second): Now static.
(lock_file_1): Rename local to avoid shadowing.
......@@ -70,9 +70,12 @@ Lisp_Object combine_after_change_buffer;
Lisp_Object Qinhibit_modification_hooks;
#define CHECK_MARKERS() \
if (check_markers_debug_flag) \
check_markers (); \
else
do \
{ \
if (check_markers_debug_flag) \
check_markers (); \
} \
while (0)
static void
check_markers (void)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment