changeset 66751:e1496b6cebc3

(search_buffer): No need to initialize base_pat.
author Kim F. Storm <storm@cua.dk>
date Tue, 08 Nov 2005 21:38:10 +0000
parents ea5667bc82b6
children 715b819a0ad8
files src/search.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/search.c	Tue Nov 08 21:37:28 2005 +0000
+++ b/src/search.c	Tue Nov 08 21:38:10 2005 +0000
@@ -1174,7 +1174,7 @@
       int raw_pattern_size_byte;
       unsigned char *patbuf;
       int multibyte = !NILP (current_buffer->enable_multibyte_characters);
-      unsigned char *base_pat = SDATA (string);
+      unsigned char *base_pat;
       /* Set to positive if we find a non-ASCII char that need
 	 translation.  Otherwise set to zero later.  */
       int charset_base = -1;