diff options
| author | 2013-12-30 18:42:55 +0000 | |
|---|---|---|
| committer | 2013-12-30 18:42:55 +0000 | |
| commit | c702e99688b461af100de6de1277dfe901fa7dff (patch) | |
| tree | 906d0885460a7bc6565aac61619a3a09b0127f7c | |
| parent | Remove duplicate const specifiers from the declaration of mandoc_escape(). (diff) | |
| download | wireguard-openbsd-c702e99688b461af100de6de1277dfe901fa7dff.tar.xz wireguard-openbsd-c702e99688b461af100de6de1277dfe901fa7dff.zip | |
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.
| -rw-r--r-- | usr.bin/mandoc/roff.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/mandoc/roff.c b/usr.bin/mandoc/roff.c index 2bf8d617a5f..cf0cf1e8271 100644 --- a/usr.bin/mandoc/roff.c +++ b/usr.bin/mandoc/roff.c @@ -1,4 +1,4 @@ -/* $Id: roff.c,v 1.61 2013/12/25 00:50:03 schwarze Exp $ */ +/* $Id: roff.c,v 1.62 2013/12/30 18:42:55 schwarze Exp $ */ /* * Copyright (c) 2010, 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010, 2011, 2012, 2013 Ingo Schwarze <schwarze@openbsd.org> @@ -642,8 +642,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; |
