(search_buffer): No need to initialize base_pat.
authorKim F. Storm <storm@cua.dk>
Tue, 8 Nov 2005 21:38:10 +0000 (21:38 +0000)
committerKim F. Storm <storm@cua.dk>
Tue, 8 Nov 2005 21:38:10 +0000 (21:38 +0000)
src/search.c

index d3a5bd8..ab4b2a0 100644 (file)
@@ -1174,7 +1174,7 @@ search_buffer (string, pos, pos_byte, lim, lim_byte, n,
       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;