From 372762d891ee38749e3fcb8e13281273f3e2a5f9 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 27 Apr 2004 18:39:21 +0000 Subject: [PATCH] (syntax_table, re_syntax_table): Remove declarations of two unused variables (they were exposed by the above change). --- src/ptx.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/ptx.c b/src/ptx.c index b6b9b8a21e..b910a0b61e 100644 --- a/src/ptx.c +++ b/src/ptx.c @@ -128,10 +128,6 @@ WORD_TABLE; /* For each character, provide its folded equivalent. */ static unsigned char folded_chars[CHAR_SET_SIZE]; -/* For each character, indicate if it is part of a word. */ -static char syntax_table[CHAR_SET_SIZE]; -static char *re_syntax_table = syntax_table; - /* Compiled regex for end of context. */ static struct re_pattern_buffer *context_regex; @@ -436,11 +432,6 @@ initialize_regex (void) { int character; /* character value */ - /* Initialize the regex syntax table. */ - - for (character = 0; character < CHAR_SET_SIZE; character++) - syntax_table[character] = ISALPHA (character) ? Sword : 0; - /* Initialize the case folding table. */ if (ignore_case) -- 2.47.3