diff options
-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++) |