summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2003-04-14 10:18:32 +0000
committerBruno Haible <bruno@clisp.org>2003-04-14 10:18:32 +0000
commit5e30c2698e2f96abb2ccf69e24f086bc9bd71883 (patch)
tree80d5121c339f20ee62d2fbe2d8944163c56a2474 /tests
parent6bbdde4f5f769875e153315b06a303e92fa008f0 (diff)
downloadgperf-5e30c2698e2f96abb2ccf69e24f086bc9bd71883.tar.gz
Omit the multicompare code output if it is not needed.
Diffstat (limited to 'tests')
-rw-r--r--tests/chill.exp12
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/chill.exp b/tests/chill.exp
index 4d90f67..18f373a 100644
--- a/tests/chill.exp
+++ b/tests/chill.exp
@@ -446,8 +446,6 @@ in_word_set (str, len)
if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
{
- register struct resword *wordptr;
- register struct resword *wordendptr;
register struct resword *resword;
switch (key - 4)
@@ -1354,16 +1352,6 @@ in_word_set (str, len)
goto compare;
}
return 0;
- multicompare:
- while (wordptr < wordendptr)
- {
- register const char *s = wordptr->name;
-
- if (*str == *s && !strcmp (str + 1, s + 1))
- return wordptr;
- wordptr++;
- }
- return 0;
compare:
{
register const char *s = resword->name;