# HG changeset patch # User Jan Dj¸«£rv # Date 1202388944 0 # Node ID 0a283ea23533a6d6e161502489b32858c3579b47 # Parent d8d7c4cd20960aab8c4d327533ef99466f1ae206 (DECODE_EMACS_MULE_COMPOSITION_CHAR): Use "do...while (0)". diff -r d8d7c4cd2096 -r 0a283ea23533 src/coding.c --- a/src/coding.c Thu Feb 07 12:55:00 2008 +0000 +++ b/src/coding.c Thu Feb 07 12:55:44 2008 +0000 @@ -1898,7 +1898,7 @@ value 0. */ #define DECODE_EMACS_MULE_COMPOSITION_CHAR(buf) \ - if (1) \ + do \ { \ int c; \ int nbytes, nchars; \ @@ -1916,7 +1916,7 @@ src += nbytes; \ consumed_chars += nchars; \ } \ - else + while (0) /* Decode a composition rule represented as a component of composition