summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/cgi.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2017-06-20 17:24:09 +0000
committerschwarze <schwarze@openbsd.org>2017-06-20 17:24:09 +0000
commite74fa2aec10c86de8a256076924506c1fdf2dd8e (patch)
treeef64f1f86e36b58000f710264b92213cbd261eeb /usr.bin/mandoc/cgi.c
parentIn ddb print socket bit field so_state in hex to match SS_ defines. (diff)
downloadwireguard-openbsd-e74fa2aec10c86de8a256076924506c1fdf2dd8e.tar.xz
wireguard-openbsd-e74fa2aec10c86de8a256076924506c1fdf2dd8e.zip
KNF: remove parentheses from switch case labels; no binary change
Diffstat (limited to 'usr.bin/mandoc/cgi.c')
-rw-r--r--usr.bin/mandoc/cgi.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/mandoc/cgi.c b/usr.bin/mandoc/cgi.c
index 8de67ca9121..6f145b8ddbd 100644
--- a/usr.bin/mandoc/cgi.c
+++ b/usr.bin/mandoc/cgi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cgi.c,v 1.92 2017/04/19 00:59:32 schwarze Exp $ */
+/* $OpenBSD: cgi.c,v 1.93 2017/06/20 17:24:09 schwarze Exp $ */
/*
* Copyright (c) 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2014, 2015, 2016, 2017 Ingo Schwarze <schwarze@usta.de>
@@ -136,16 +136,16 @@ html_putchar(char c)
{
switch (c) {
- case ('"'):
+ case '"':
printf("&quot;");
break;
- case ('&'):
+ case '&':
printf("&amp;");
break;
- case ('>'):
+ case '>':
printf("&gt;");
break;
- case ('<'):
+ case '<':
printf("&lt;");
break;
default: