diff options
| author | Dave Love | 2003-09-29 17:58:09 +0000 |
|---|---|---|
| committer | Dave Love | 2003-09-29 17:58:09 +0000 |
| commit | 42ca828e0c864fc714c26f9bbf4bf8d9646839a0 (patch) | |
| tree | 8ccf95cf80bc6475fcc053e3c87e285fe6649156 /src | |
| parent | e0c697cb274645ebd5edbcefbde3599fdbc0961c (diff) | |
| download | emacs-42ca828e0c864fc714c26f9bbf4bf8d9646839a0.tar.gz emacs-42ca828e0c864fc714c26f9bbf4bf8d9646839a0.zip | |
(syms_of_charset): Remove unused var p.
(find_charsets_in_text, Ffind_charset_region): Use EMACS_INT for
byte/char counts.
Diffstat (limited to 'src')
| -rw-r--r-- | src/charset.c | 9 |
1 files changed, 3 insertions, 6 deletions
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) | |||
| 1375 | static void | 1375 | static void |
| 1376 | find_charsets_in_text (ptr, nchars, nbytes, charsets, table) | 1376 | find_charsets_in_text (ptr, nchars, nbytes, charsets, table) |
| 1377 | const unsigned char *ptr; | 1377 | const unsigned char *ptr; |
| 1378 | int nchars, nbytes; | 1378 | EMACS_INT nchars, nbytes; |
| 1379 | Lisp_Object charsets, table; | 1379 | Lisp_Object charsets, table; |
| 1380 | { | 1380 | { |
| 1381 | const unsigned char *pend = ptr + nbytes; | 1381 | const unsigned char *pend = ptr + nbytes; |
| @@ -1424,7 +1424,8 @@ only `ascii', `eight-bit-control', and `eight-bit-graphic'. */) | |||
| 1424 | Lisp_Object beg, end, table; | 1424 | Lisp_Object beg, end, table; |
| 1425 | { | 1425 | { |
| 1426 | Lisp_Object charsets; | 1426 | Lisp_Object charsets; |
| 1427 | int from, from_byte, to, stop, stop_byte, i; | 1427 | EMACS_INT from, from_byte, to, stop, stop_byte; |
| 1428 | int i; | ||
| 1428 | Lisp_Object val; | 1429 | Lisp_Object val; |
| 1429 | 1430 | ||
| 1430 | validate_region (&beg, &end); | 1431 | validate_region (&beg, &end); |
| @@ -2073,8 +2074,6 @@ init_charset_once () | |||
| 2073 | void | 2074 | void |
| 2074 | syms_of_charset () | 2075 | syms_of_charset () |
| 2075 | { | 2076 | { |
| 2076 | char *p; | ||
| 2077 | |||
| 2078 | DEFSYM (Qcharsetp, "charsetp"); | 2077 | DEFSYM (Qcharsetp, "charsetp"); |
| 2079 | 2078 | ||
| 2080 | DEFSYM (Qascii, "ascii"); | 2079 | DEFSYM (Qascii, "ascii"); |
| @@ -2085,8 +2084,6 @@ syms_of_charset () | |||
| 2085 | DEFSYM (Qgl, "gl"); | 2084 | DEFSYM (Qgl, "gl"); |
| 2086 | DEFSYM (Qgr, "gr"); | 2085 | DEFSYM (Qgr, "gr"); |
| 2087 | 2086 | ||
| 2088 | p = (char *) xmalloc (30000); | ||
| 2089 | |||
| 2090 | staticpro (&Vcharset_ordered_list); | 2087 | staticpro (&Vcharset_ordered_list); |
| 2091 | Vcharset_ordered_list = Qnil; | 2088 | Vcharset_ordered_list = Qnil; |
| 2092 | 2089 | ||