diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2013-10-05 20:30:05 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2013-10-05 20:30:05 +0000 |
commit | 62123f44f4fd9b8d368bf8b7cc392894c78cb1b0 (patch) | |
tree | d55ef626f0ce332657b2468fd8f039e281bc2fef /out.c | |
parent | db1417d7eb2b042c146a8a4ad4515568949f1b06 (diff) | |
download | mandoc-62123f44f4fd9b8d368bf8b7cc392894c78cb1b0.tar.gz |
Cleanup suggested by gcc-4.8.1, following hints by Christos Zoulas:
- avoid bad qualifier casting in roff.c, roff_parsetext()
by changing the mandoc_escape arguments to "const char const **"
- avoid bad qualifier casting in mandocdb.c, index_merge()
- do not complain about unused variables in test-*.c
- garbage collect a few unused variables elsewhere
Diffstat (limited to 'out.c')
-rw-r--r-- | out.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -142,7 +142,6 @@ void tblcalc(struct rofftbl *tbl, const struct tbl_span *sp) { const struct tbl_dat *dp; - const struct tbl_head *hp; struct roffcol *col; int spans; @@ -156,8 +155,6 @@ tblcalc(struct rofftbl *tbl, const struct tbl_span *sp) tbl->cols = mandoc_calloc ((size_t)sp->opts->cols, sizeof(struct roffcol)); - hp = sp->head; - for ( ; sp; sp = sp->next) { if (TBL_SPAN_DATA != sp->pos) continue; |