diff options
Diffstat (limited to 'iconvdata')
-rw-r--r-- | iconvdata/iso-2022-jp-3.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/iconvdata/iso-2022-jp-3.c b/iconvdata/iso-2022-jp-3.c index 2bf666cb8f..2704a17b7f 100644 --- a/iconvdata/iso-2022-jp-3.c +++ b/iconvdata/iso-2022-jp-3.c @@ -109,9 +109,8 @@ enum { \ /* Write out the shift sequence before the last \ character. */ \ - int set = data->__statep->__count & CURRENT_SEL_MASK; \ - \ - assert (set == JISX0208_1983_set); \ + assert ((data->__statep->__count & CURRENT_SEL_MASK) \ + == JISX0208_1983_set); \ *outbuf++ = ESC; \ *outbuf++ = '$'; \ *outbuf++ = 'B'; \ |