Mercurial > hg > xemacs-beta
diff src/regex.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 | 8e39301eac59 |
children | ba4677f54a05 |
line wrap: on
line diff
--- a/src/regex.c Mon Sep 20 19:11:29 2004 +0000 +++ b/src/regex.c Mon Sep 20 19:20:08 2004 +0000 @@ -83,6 +83,8 @@ #else /* not emacs */ +#include "compiler.h" /* Get compiler-specific definitions like UNUSED */ + /* If we are not linking with Emacs proper, we can't use the relocating allocator even if config.h says that we can. */ @@ -6963,7 +6965,7 @@ from either regcomp or regexec. We don't use PREG here. */ size_t -regerror (int errcode, const regex_t *preg, char *errbuf, +regerror (int errcode, const regex_t *UNUSED (preg), char *errbuf, size_t errbuf_size) { const char *msg;