diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2013-12-31 23:23:10 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2013-12-31 23:23:10 +0000 |
commit | 8165032a586fb8d32ff25ec7340db91a5568e604 (patch) | |
tree | 12fb3a063e97fce5041017ce1e096a75ccc6dc11 /mandoc.c | |
parent | 00a83eb67618ef2d3d4efc692882efa3dc6252ca (diff) | |
download | mandoc-8165032a586fb8d32ff25ec7340db91a5568e604.tar.gz |
Simplify: Remove an unused argument from the mandoc_eos() function.
No functional change.
Diffstat (limited to 'mandoc.c')
-rw-r--r-- | mandoc.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -594,10 +594,10 @@ mandoc_normdate(struct mparse *parse, char *in, int ln, int pos) } int -mandoc_eos(const char *p, size_t sz, int enclosed) +mandoc_eos(const char *p, size_t sz) { - const char *q; - int found; + const char *q; + int enclosed, found; if (0 == sz) return(0); @@ -608,7 +608,7 @@ mandoc_eos(const char *p, size_t sz, int enclosed) * propagate outward. */ - found = 0; + enclosed = found = 0; for (q = p + (int)sz - 1; q >= p; q--) { switch (*q) { case ('\"'): |