diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-01-28 06:04:59 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-01-28 06:04:59 +0000 |
commit | 5e60a2f452cd21556ecdfc68a6652c464873bd8c (patch) | |
tree | 439e6d92e373fd9c57c0d92fe9af3b5af08cd0f5 | |
parent | 7afc7a8f7b4b8163976d661f989bd6a4733e2b89 (diff) | |
download | mandoc-5e60a2f452cd21556ecdfc68a6652c464873bd8c.tar.gz |
Removed superfluous lookahead block in chars.c.
-rw-r--r-- | chars.c | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -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; |