changeset 18762:12c0de0113af

(compile_pattern_1): Don't declare val with CONST.
author Richard M. Stallman <rms@gnu.org>
date Sun, 13 Jul 1997 06:36:36 +0000
parents 756cb4d82a49
children 8f719bb518cc
files src/search.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/search.c	Sat Jul 12 19:11:07 1997 +0000
+++ b/src/search.c	Sun Jul 13 06:36:36 1997 +0000
@@ -121,7 +121,7 @@
      int posix;
      int multibyte;
 {
-  CONST char *val;
+  char *val;
   reg_syntax_t old;
 
   cp->regexp = Qnil;
@@ -131,8 +131,8 @@
   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)