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:
parent
e2f1bab963
commit
413bb2db75
2 changed files with 5 additions and 0 deletions
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
|
|
@ -3899,6 +3899,10 @@ decode_coding_iso_2022 (struct coding_system *coding)
|
|||
}
|
||||
continue;
|
||||
}
|
||||
break;
|
||||
|
||||
default:
|
||||
abort ();
|
||||
}
|
||||
|
||||
if (cmp_status->state == COMPOSING_NO
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue