1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-03 02:31:03 -08:00

* coding.c (decode_coding_iso_2022): Add "default: abort ();" as a safety check.

This commit is contained in:
Paul Eggert 2011-03-07 21:28:41 -08:00
parent e2f1bab963
commit 413bb2db75
2 changed files with 5 additions and 0 deletions

View file

@ -52,6 +52,7 @@
* character.h (FETCH_STRING_CHAR_ADVANCE): Likewise.
* coding.c (emacs_mule_char, encode_invocation_designation):
Now static, since they're not used elsewhere.
(decode_coding_iso_2022): Add "default: abort ();" as a safety check.
2011-03-06 Chong Yidong <cyd@stupidchicken.com>

View file

@ -3899,6 +3899,10 @@ decode_coding_iso_2022 (struct coding_system *coding)
}
continue;
}
break;
default:
abort ();
}
if (cmp_status->state == COMPOSING_NO