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 /roff.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 'roff.c')
-rw-r--r-- | roff.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -627,7 +627,7 @@ roff_parsetext(char **bufp, size_t *szp, int pos, int *offs) /* Skip over escapes. */ p++; esc = mandoc_escape - ((const char **)&p, NULL, NULL); + ((const char const **)&p, NULL, NULL); if (ESCAPE_ERROR == esc) break; continue; |