diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2015-08-22 15:00:22 +0200 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2015-08-22 15:00:22 +0200 |
commit | df1dcf5ff0f501cbef195231d10afadcc2386d9a (patch) | |
tree | a9301e177e521e4c31fcc2852ac668026322cd66 | |
parent | 62f6f2a911120b7718110ec8e5f38cf19466f50e (diff) |
sfeed_xmlenc: code-style
-rw-r--r-- | sfeed_xmlenc.c | 3 |
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++) |