summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-04-27 18:39:21 +0000
committerJim Meyering <jim@meyering.net>2004-04-27 18:39:21 +0000
commit372762d891ee38749e3fcb8e13281273f3e2a5f9 (patch)
treebdf6dc212d58e57c8e26a6f1a71b72fec57b2c05 /src
parent335b993492c80f254b877149a694d49ea0a98191 (diff)
downloadcoreutils-372762d891ee38749e3fcb8e13281273f3e2a5f9.tar.xz
(syntax_table, re_syntax_table): Remove declarations of two unused
variables (they were exposed by the above change).
Diffstat (limited to 'src')
-rw-r--r--src/ptx.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/ptx.c b/src/ptx.c
index b6b9b8a21..b910a0b61 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)