diff options
author | Alfred E. Heggestad <aeh@db.org> | 2015-11-23 09:47:59 +0100 |
---|---|---|
committer | Alfred E. Heggestad <aeh@db.org> | 2015-11-23 09:47:59 +0100 |
commit | b8cf28d1f720f20d07581ba26e2ceaaf8a0a5d7a (patch) | |
tree | 3061524fb4412e2527ad8d30f27926139a8f8ae9 | |
parent | 93356a9d4721c73fdf9935eea0c2c6c9aced25a3 (diff) |
fix warnings in mwi and presence module
-rw-r--r-- | modules/mwi/mwi.c | 1 | ||||
-rw-r--r-- | modules/presence/presence.c | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/modules/mwi/mwi.c b/modules/mwi/mwi.c index 8ce6fe4..e2c9a1d 100644 --- a/modules/mwi/mwi.c +++ b/modules/mwi/mwi.c @@ -148,6 +148,7 @@ static void ua_event_handler(struct ua *ua, { (void)call; (void)prm; + (void)arg; info("mwi: got event %d (%s)\n", ev, uag_event_str(ev)); diff --git a/modules/presence/presence.c b/modules/presence/presence.c index fd31790..f343365 100644 --- a/modules/presence/presence.c +++ b/modules/presence/presence.c @@ -55,6 +55,10 @@ static const struct cmd cmdv[] = { static void event_handler(struct ua *ua, enum ua_event ev, struct call *call, const char *prm, void *arg) { + (void)call; + (void)prm; + (void)arg; + debug("presence: ua=%p got event %d (%s)\n", ua, ev, uag_event_str(ev)); |