summaryrefslogtreecommitdiffstats
path: root/cgi.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-06-20 17:24:35 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-06-20 17:24:35 +0000
commit7580e1ab4d644ccc6a7b54723d9e0ce4c00e8317 (patch)
treeae0b7466796c77bcd2c21100f5ed459f85becc9f /cgi.c
parent46db02ef58ca19b8830da5e1d120db9546685a3b (diff)
downloadmandoc-7580e1ab4d644ccc6a7b54723d9e0ce4c00e8317.tar.gz
KNF: remove parentheses from switch case labels; no binary change
Diffstat (limited to 'cgi.c')
-rw-r--r--cgi.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/cgi.c b/cgi.c
index 46b82435..c32b8c03 100644
--- a/cgi.c
+++ b/cgi.c
@@ -140,16 +140,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: