summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2015-08-22 15:00:22 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2015-08-22 15:00:22 +0200
commitdf1dcf5ff0f501cbef195231d10afadcc2386d9a (patch)
treea9301e177e521e4c31fcc2852ac668026322cd66
parent62f6f2a911120b7718110ec8e5f38cf19466f50e (diff)
sfeed_xmlenc: code-style
-rw-r--r--sfeed_xmlenc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sfeed_xmlenc.c b/sfeed_xmlenc.c
index 494d840..180fa68 100644
--- 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++)