]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Unused vars
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 1 Nov 2019 14:20:06 +0000 (08:20 -0600)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 1 Nov 2019 14:20:06 +0000 (08:20 -0600)
src/modules/rlm_unbound/io.c

index d9799b8e3bdfa0d95f26caa17a3a46b94f9326c3..bd7f664c735fe55234d37ccf21c2d5193037905b 100644 (file)
@@ -147,7 +147,6 @@ static void _unbound_io_event_free(struct ub_event *ub_ev)
 static void _unbound_io_service_timer_expired(UNUSED fr_event_list_t *el, UNUSED fr_time_t now, void *uctx)
 {
        unbound_io_event_t      *ev = talloc_get_type_abort(uctx, unbound_io_event_t);
-       int                     ret;
 
        rad_assert(ev->active);                 /* must be active */
 
@@ -165,7 +164,6 @@ static void _unbound_io_service_timer_expired(UNUSED fr_event_list_t *el, UNUSED
 static void _unbound_io_service_readable(fr_event_list_t *el, int fd, UNUSED int flags, void *uctx)
 {
        unbound_io_event_t      *ev = talloc_get_type_abort(uctx, unbound_io_event_t);
-       int                     ret;
 
        rad_assert(ev->active);                 /* must be active */
 
@@ -220,7 +218,6 @@ static void _unbound_io_service_errored(UNUSED fr_event_list_t *el,
                                        int fd, UNUSED int flags, int fd_errno, void *uctx)
 {
        unbound_io_event_t      *ev = talloc_get_type_abort(uctx, unbound_io_event_t);
-       int                     ret;
 
        rad_assert(ev->active);                 /* must be active */