From a967ed62bb5c69ff1a5c81ef243bfb3c0c673a58 Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Tue, 8 Nov 2005 21:38:10 +0000 Subject: [PATCH] (search_buffer): No need to initialize base_pat. --- src/search.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2