summaryrefslogtreecommitdiffstats
path: root/roff.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2013-12-30 18:44:06 +0000
committerIngo Schwarze <schwarze@openbsd.org>2013-12-30 18:44:06 +0000
commitfa04b25cafdec717a1b32701a05ba620e52d9001 (patch)
treeacdd855d75e0b37d985da1bd36b55d97c4eab7ba /roff.c
parentfdff66b1eff3c38254e6c3eb449005149a6d7bc5 (diff)
downloadmandoc-fa04b25cafdec717a1b32701a05ba620e52d9001.tar.gz
Oops, missed one:
Remove duplicate const specifier from a call to mandoc_escape(). Found by Thomas Klausner <wiz at NetBSD dot org> using clang. No functional change.
Diffstat (limited to 'roff.c')
-rw-r--r--roff.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/roff.c b/roff.c
index 1a348dea..93e57af8 100644
--- a/roff.c
+++ b/roff.c
@@ -646,8 +646,7 @@ roff_parsetext(char **bufp, size_t *szp, int pos, int *offs)
if ('\\' == *p) {
/* Skip over escapes. */
p++;
- esc = mandoc_escape
- ((const char const **)&p, NULL, NULL);
+ esc = mandoc_escape((const char **)&p, NULL, NULL);
if (ESCAPE_ERROR == esc)
break;
continue;