* character.c (string_count_byte8): Likewise.

This commit is contained in:
Paul Eggert 2011-03-07 23:49:41 -08:00
parent fb90da1b9b
commit d0891610cb
2 changed files with 2 additions and 1 deletions

View file

@ -67,6 +67,7 @@
* category.c (hash_get_category_set): Remove unused local var.
(copy_category_table): Now static, since it's not used elsewhere.
* character.c (string_count_byte8): Likewise.
* ccl.c (CCL_WRITE_STRING, CCL_ENCODE_CHAR, Fccl_execute_on_string):
(Fregister_code_conversion_map): Rename locals to avoid shadowing.

View file

@ -786,7 +786,7 @@ str_to_unibyte (const unsigned char *src, unsigned char *dst, EMACS_INT chars, i
}
EMACS_INT
static EMACS_INT
string_count_byte8 (Lisp_Object string)
{
int multibyte = STRING_MULTIBYTE (string);