mirror of
https://github.com/NLnetLabs/unbound.git
synced 2024-09-21 14:47:09 +00:00
Remove statement before declaration warning.
git-svn-id: file:///svn/unbound/trunk@3666 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
426507adeb
commit
11a6ce0f3c
@ -435,14 +435,14 @@ void
|
||||
ub_get_event_sys(struct ub_event_base* ub_base, const char** n, const char** s,
|
||||
const char** m)
|
||||
{
|
||||
|
||||
*n = "pluggable-event";
|
||||
#ifdef USE_WINSOCK
|
||||
(void)ub_base;
|
||||
*n = "pluggable-event";
|
||||
*s = "winsock";
|
||||
*m = "WSAWaitForMultipleEvents";
|
||||
#elif defined(USE_MINI_EVENT)
|
||||
(void)ub_base;
|
||||
*n = "pluggable-event";
|
||||
*s = "internal";
|
||||
*m = "select";
|
||||
#else
|
||||
@ -452,6 +452,7 @@ ub_get_event_sys(struct ub_event_base* ub_base, const char** n, const char** s,
|
||||
* event base.
|
||||
*/
|
||||
assert(b);
|
||||
*n = "pluggable-event";
|
||||
*s = event_get_version();
|
||||
# if defined(HAVE_EV_LOOP) || defined(HAVE_EV_DEFAULT_LOOP)
|
||||
*n = "pluggable-libev";
|
||||
|
Loading…
Reference in New Issue
Block a user