From: Dave Love Date: Mon, 29 Sep 2003 17:58:09 +0000 (+0000) Subject: (syms_of_charset): Remove unused var p. X-Git-Tag: emacs-pretest-23.0.90~8295^2~1804 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=42ca828e0c864fc714c26f9bbf4bf8d9646839a0;p=emacs.git (syms_of_charset): Remove unused var p. (find_charsets_in_text, Ffind_charset_region): Use EMACS_INT for byte/char counts. --- diff --git a/src/charset.c b/src/charset.c index 19c75538340..88752a80b79 100644 --- a/src/charset.c +++ b/src/charset.c @@ -1375,7 +1375,7 @@ string_xstring_p (string) static void find_charsets_in_text (ptr, nchars, nbytes, charsets, table) const unsigned char *ptr; - int nchars, nbytes; + EMACS_INT nchars, nbytes; Lisp_Object charsets, table; { const unsigned char *pend = ptr + nbytes; @@ -1424,7 +1424,8 @@ only `ascii', `eight-bit-control', and `eight-bit-graphic'. */) Lisp_Object beg, end, table; { Lisp_Object charsets; - int from, from_byte, to, stop, stop_byte, i; + EMACS_INT from, from_byte, to, stop, stop_byte; + int i; Lisp_Object val; validate_region (&beg, &end); @@ -2073,8 +2074,6 @@ init_charset_once () void syms_of_charset () { - char *p; - DEFSYM (Qcharsetp, "charsetp"); DEFSYM (Qascii, "ascii"); @@ -2085,8 +2084,6 @@ syms_of_charset () DEFSYM (Qgl, "gl"); DEFSYM (Qgr, "gr"); - p = (char *) xmalloc (30000); - staticpro (&Vcharset_ordered_list); Vcharset_ordered_list = Qnil;