Mercurial > hg > xemacs-beta
diff src/syntax.c @ 2286:04bc9d2f42c7
[xemacs-hg @ 2004-09-20 19:18:55 by james]
Mark all unused parameters as unused. Also eliminate some unneeded local
variables.
author | james |
---|---|
date | Mon, 20 Sep 2004 19:20:08 +0000 |
parents | 54e1ecdc5778 |
children | 13a418960a88 |
line wrap: on
line diff
--- a/src/syntax.c Mon Sep 20 19:11:29 2004 +0000 +++ b/src/syntax.c Mon Sep 20 19:20:08 2004 +0000 @@ -458,7 +458,8 @@ outward to the current buffer (#### rewrite in English please?!). */ void -update_syntax_cache (struct syntax_cache *cache, Charxpos cpos, int count) +update_syntax_cache (struct syntax_cache *cache, Charxpos cpos, + int UNUSED (count)) { Lisp_Object tmp_table; Bytexpos pos; @@ -615,7 +616,8 @@ #ifdef MULE enum syntaxcode -charset_syntax (struct buffer *buf, Lisp_Object charset, int *multi_p_out) +charset_syntax (struct buffer *UNUSED (buf), Lisp_Object UNUSED (charset), + int *multi_p_out) { *multi_p_out = 1; /* !!#### get this right */ @@ -2234,7 +2236,7 @@ */ static int -copy_to_mirrortab (struct chartab_range *range, Lisp_Object table, +copy_to_mirrortab (struct chartab_range *range, Lisp_Object UNUSED (table), Lisp_Object val, void *arg) { Lisp_Object mirrortab = VOID_TO_LISP (arg); @@ -2247,7 +2249,8 @@ } static int -copy_if_not_already_present (struct chartab_range *range, Lisp_Object table, +copy_if_not_already_present (struct chartab_range *range, + Lisp_Object UNUSED (table), Lisp_Object val, void *arg) { Lisp_Object mirrortab = VOID_TO_LISP (arg);