Browse Source

* suppress compiler warning

master
Alex 'AdUser' Z 8 years ago
parent
commit
8e0e388873
  1. 6
      src/backends/mcast.c

6
src/backends/mcast.c

@ -187,7 +187,8 @@ bool
unban(cfg_t *cfg, const char *ip) { unban(cfg_t *cfg, const char *ip) {
assert(cfg != NULL); assert(cfg != NULL);
(void)(ip); /* suppress warning for unused variable 'ip' */ (void)(cfg); /* suppress warning for unused variable 'cfg' */
(void)(ip); /* suppress warning for unused variable 'ip' */
return true; return true;
} }
@ -195,7 +196,8 @@ bool
check(cfg_t *cfg, const char *ip) { check(cfg_t *cfg, const char *ip) {
assert(cfg != NULL); assert(cfg != NULL);
(void)(ip); /* suppress warning for unused variable 'ip' */ (void)(cfg); /* suppress warning for unused variable 'cfg' */
(void)(ip); /* suppress warning for unused variable 'ip' */
return false; return false;
} }

Loading…
Cancel
Save