From: Kim F. Storm Date: Tue, 8 Nov 2005 21:38:10 +0000 (+0000) Subject: (search_buffer): No need to initialize base_pat. X-Git-Tag: emacs-pretest-22.0.90~6010 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a967ed62bb5c69ff1a5c81ef243bfb3c0c673a58;p=emacs.git (search_buffer): No need to initialize base_pat. --- diff --git a/src/search.c b/src/search.c index d3a5bd838a9..ab4b2a0f519 100644 --- a/src/search.c +++ b/src/search.c @@ -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;