aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ChangeLog1
-rw-r--r--src/coding.c4
2 files changed, 5 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 3a5a4c97628..1b518a6341c 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -52,6 +52,7 @@
52 * character.h (FETCH_STRING_CHAR_ADVANCE): Likewise. 52 * character.h (FETCH_STRING_CHAR_ADVANCE): Likewise.
53 * coding.c (emacs_mule_char, encode_invocation_designation): 53 * coding.c (emacs_mule_char, encode_invocation_designation):
54 Now static, since they're not used elsewhere. 54 Now static, since they're not used elsewhere.
55 (decode_coding_iso_2022): Add "default: abort ();" as a safety check.
55 56
562011-03-06 Chong Yidong <cyd@stupidchicken.com> 572011-03-06 Chong Yidong <cyd@stupidchicken.com>
57 58
diff --git a/src/coding.c b/src/coding.c
index 4fdbd1fd752..c9d32489351 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -3899,6 +3899,10 @@ decode_coding_iso_2022 (struct coding_system *coding)
3899 } 3899 }
3900 continue; 3900 continue;
3901 } 3901 }
3902 break;
3903
3904 default:
3905 abort ();
3902 } 3906 }
3903 3907
3904 if (cmp_status->state == COMPOSING_NO 3908 if (cmp_status->state == COMPOSING_NO