commit df1dcf5ff0f501cbef195231d10afadcc2386d9a
parent 62f6f2a911120b7718110ec8e5f38cf19466f50e
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sat, 22 Aug 2015 15:00:22 +0200
sfeed_xmlenc: code-style
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sfeed_xmlenc.c b/sfeed_xmlenc.c
@@ -40,9 +40,10 @@ xmlattr(XMLParser *p, const char *tag, size_t taglen, const char *name,
 	(void)p;
 	(void)tag;
 	(void)taglen;
+	(void)namelen;
 	(void)valuelen;
 
-	if (isxmlpi && (!strcasecmp(name, "encoding"))) {
+	if (isxmlpi && !strcasecmp(name, "encoding")) {
 		if (*value) {
 			/* output lowercase */
 			for (; *value; value++)