summaryrefslogtreecommitdiffstats
path: root/out.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2013-10-05 20:30:05 +0000
committerIngo Schwarze <schwarze@openbsd.org>2013-10-05 20:30:05 +0000
commit62123f44f4fd9b8d368bf8b7cc392894c78cb1b0 (patch)
treed55ef626f0ce332657b2468fd8f039e281bc2fef /out.c
parentdb1417d7eb2b042c146a8a4ad4515568949f1b06 (diff)
downloadmandoc-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.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/out.c b/out.c
index 937458dd..866e05b3 100644
--- a/out.c
+++ b/out.c
@@ -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;