Commit f937a7db authored by Jan Djärv's avatar Jan Djärv

(DECODE_EMACS_MULE_COMPOSITION_CHAR): Use "do...while (0)".

parent a1c2ac9a
2008-02-07 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
* coding.c (DECODE_EMACS_MULE_COMPOSITION_CHAR): Use "do...while (0)".
2008-02-07 Jim Meyering <meyering@redhat.com>
Use "do...while (0)", not "if (1)..else" in macro definitions.
......
......@@ -1898,7 +1898,7 @@ detect_coding_emacs_mule (coding, detect_info)
value 0. */
#define DECODE_EMACS_MULE_COMPOSITION_CHAR(buf) \
if (1) \
do \
{ \
int c; \
int nbytes, nchars; \
......@@ -1916,7 +1916,7 @@ detect_coding_emacs_mule (coding, detect_info)
src += nbytes; \
consumed_chars += nchars; \
} \
else
while (0)
/* Decode a composition rule represented as a component of composition
......
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