From 425197d3b259d24d20f8f680e5845fd74fecffd0 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Tue, 20 Jun 2017 17:24:35 +0000 Subject: KNF: remove parentheses from switch case labels; no binary change --- cgi.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'cgi.c') diff --git a/cgi.c b/cgi.c index eeccd4ea..0074e2f6 100644 --- a/cgi.c +++ b/cgi.c @@ -1,4 +1,4 @@ -/* $Id: cgi.c,v 1.154 2017/04/19 01:00:03 schwarze Exp $ */ +/* $Id: cgi.c,v 1.155 2017/06/20 17:24:35 schwarze Exp $ */ /* * Copyright (c) 2011, 2012 Kristaps Dzonsons * Copyright (c) 2014, 2015, 2016, 2017 Ingo Schwarze @@ -140,16 +140,16 @@ html_putchar(char c) { switch (c) { - case ('"'): + case '"': printf("""); break; - case ('&'): + case '&': printf("&"); break; - case ('>'): + case '>': printf(">"); break; - case ('<'): + case '<': printf("<"); break; default: -- cgit v1.2.3-56-ge451