From: Jim Meyering Date: Tue, 27 Apr 2004 18:39:21 +0000 (+0000) Subject: (syntax_table, re_syntax_table): Remove declarations of two unused X-Git-Tag: v5.3.0~1651 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=372762d891ee38749e3fcb8e13281273f3e2a5f9;p=thirdparty%2Fcoreutils.git (syntax_table, re_syntax_table): Remove declarations of two unused variables (they were exposed by the above change). --- 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)