From d451e4dbed137a0c9b1f9e296c6cf6ca1a14f0c6 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 13 Jul 1997 06:36:36 +0000 Subject: [PATCH] (compile_pattern_1): Don't declare val with CONST. --- src/search.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/search.c b/src/search.c index 790f35fd626..6ac8ef21e6c 100644 --- a/src/search.c +++ b/src/search.c @@ -121,7 +121,7 @@ compile_pattern_1 (cp, pattern, translate, regp, posix, multibyte) int posix; int multibyte; { - CONST char *val; + char *val; reg_syntax_t old; cp->regexp = Qnil; @@ -131,8 +131,8 @@ compile_pattern_1 (cp, pattern, translate, regp, posix, multibyte) BLOCK_INPUT; old = re_set_syntax (RE_SYNTAX_EMACS | (posix ? 0 : RE_NO_POSIX_BACKTRACKING)); - val = (CONST char *) re_compile_pattern ((char *) XSTRING (pattern)->data, - XSTRING (pattern)->size, &cp->buf); + val = (char *) re_compile_pattern ((char *) XSTRING (pattern)->data, + XSTRING (pattern)->size, &cp->buf); re_set_syntax (old); UNBLOCK_INPUT; if (val) -- 2.11.4.GIT