diff options
author | Paul Eggert <[email protected]> | 2011-03-14 18:25:31 -0700 |
---|---|---|
committer | Paul Eggert <[email protected]> | 2011-03-14 18:25:31 -0700 |
commit | f0cb4a607918c065ebedfd62eb0187b0d49f67d6 (patch) | |
tree | da8769755db0aea558878e0d32aa0f74b678db4d /src/insdel.c | |
parent | 85876d07948fa6dba29b987c20eadd1b4c7aad1a (diff) |
* insdel.c (CHECK_MARKERS): Redo to avoid gcc -Wempty-body diagnostic.
Diffstat (limited to 'src/insdel.c')
-rw-r--r-- | src/insdel.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/insdel.c b/src/insdel.c index a429ae6a1e..18495e6c90 100644 --- a/src/insdel.c +++ b/src/insdel.c @@ -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) |