mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-09-24 02:34:56 +02: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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user