mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- Remove warning about unused parameter in event_pluggable.c.
git-svn-id: file:///svn/unbound/trunk@3663 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
465e834113
commit
3e936c2eb6
2 changed files with 6 additions and 0 deletions
|
|
@ -1,3 +1,6 @@
|
|||
11 March 2016: Wouter
|
||||
- Remove warning about unused parameter in event_pluggable.c.
|
||||
|
||||
10 March 2016: Wouter
|
||||
- Fixup backend2str for libev.
|
||||
|
||||
|
|
|
|||
|
|
@ -341,6 +341,7 @@ struct ub_event_base*
|
|||
ub_libevent_event_base(struct event_base* base)
|
||||
{
|
||||
#ifdef USE_MINI_EVENT
|
||||
(void)base;
|
||||
return NULL;
|
||||
#else
|
||||
struct my_event_base* my_base = (struct my_event_base*)calloc(1,
|
||||
|
|
@ -360,6 +361,8 @@ ub_libevent_get_event_base(struct ub_event_base* base)
|
|||
#ifndef USE_MINI_EVENT
|
||||
if (base->vmt == &default_event_base_vmt)
|
||||
return AS_MY_EVENT_BASE(base)->base;
|
||||
#else
|
||||
(void)base;
|
||||
#endif
|
||||
return NULL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue