summaryrefslogtreecommitdiff
path: root/sfeed_xmlenc.c
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2016-03-10 19:01:26 +0100
committerHiltjo Posthuma <hiltjo@codemadness.org>2016-03-10 19:01:26 +0100
commit3606cc675c8cfed49091421b7197a3667d5d12cb (patch)
tree0edeaa6b97d99558b5f56835d5d12892db96b22c /sfeed_xmlenc.c
parent9a74fe65fee19f5b8d71c6c379ca028ad0e356a4 (diff)
remove cast of unused variables
Diffstat (limited to 'sfeed_xmlenc.c')
-rw-r--r--sfeed_xmlenc.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/sfeed_xmlenc.c b/sfeed_xmlenc.c
index d4bd50d..4a5f12c 100644
--- a/sfeed_xmlenc.c
+++ b/sfeed_xmlenc.c
@@ -15,8 +15,6 @@ static int isxmlpi, tags;
static void
xmltagstart(XMLParser *p, const char *tag, size_t taglen)
{
- (void)p;
-
/* optimization: try to find processing instruction at start */
if (tags > 3)
exit(1);
@@ -27,11 +25,6 @@ xmltagstart(XMLParser *p, const char *tag, size_t taglen)
static void
xmltagend(XMLParser *p, const char *tag, size_t taglen, int isshort)
{
- (void)p;
- (void)tag;
- (void)taglen;
- (void)isshort;
-
isxmlpi = 0;
}
@@ -39,12 +32,6 @@ static void
xmlattr(XMLParser *p, const char *tag, size_t taglen, const char *name,
size_t namelen, const char *value, size_t valuelen)
{
- (void)p;
- (void)tag;
- (void)taglen;
- (void)namelen;
- (void)valuelen;
-
if (isxmlpi && !strcasecmp(name, "encoding")) {
if (*value) {
/* output lowercase */