diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2016-03-10 19:01:26 +0100 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2016-03-10 19:01:26 +0100 |
commit | 3606cc675c8cfed49091421b7197a3667d5d12cb (patch) | |
tree | 0edeaa6b97d99558b5f56835d5d12892db96b22c /sfeed_web.c | |
parent | 9a74fe65fee19f5b8d71c6c379ca028ad0e356a4 (diff) |
remove cast of unused variables
Diffstat (limited to 'sfeed_web.c')
-rw-r--r-- | sfeed_web.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/sfeed_web.c b/sfeed_web.c index 52f8f88..3b2b43c 100644 --- a/sfeed_web.c +++ b/sfeed_web.c @@ -28,8 +28,6 @@ printfeedtype(const char *s, FILE *fp) static void xmltagstart(XMLParser *p, const char *tag, size_t taglen) { - (void)p; - isbase = islink = isfeedlink = 0; if (taglen != 4) /* optimization */ return; @@ -43,11 +41,6 @@ xmltagstart(XMLParser *p, const char *tag, size_t taglen) static void xmltagstartparsed(XMLParser *p, const char *tag, size_t taglen, int isshort) { - (void)p; - (void)tag; - (void)taglen; - (void)isshort; - if (!isfeedlink) return; @@ -63,11 +56,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)valuelen; - if (namelen != 4) /* optimization */ return; if (isbase) { |