summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-01-28 06:04:59 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-01-28 06:04:59 +0000
commit5e60a2f452cd21556ecdfc68a6652c464873bd8c (patch)
tree439e6d92e373fd9c57c0d92fe9af3b5af08cd0f5
parent7afc7a8f7b4b8163976d661f989bd6a4733e2b89 (diff)
downloadmandoc-5e60a2f452cd21556ecdfc68a6652c464873bd8c.tar.gz
Removed superfluous lookahead block in chars.c.
-rw-r--r--chars.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/chars.c b/chars.c
index 8d56c790..a3008e94 100644
--- a/chars.c
+++ b/chars.c
@@ -166,18 +166,6 @@ find(struct tbl *tab, const char *p, size_t sz, size_t *rsz, int type)
if (NULL == (pp = htab[hash]))
return(NULL);
- if (NULL == pp->next) {
- if ( ! match(pp, p, sz, type))
- return(NULL);
-
- if (CHARS_HTML == tab->type) {
- *rsz = pp->htmlsz;
- return(pp->html);
- }
- *rsz = pp->asciisz;
- return(pp->ascii);
- }
-
for (prev = NULL; pp; pp = pp->next) {
if ( ! match(pp, p, sz, type)) {
prev = pp;