]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
unused variable
authorAlan T. DeKok <aland@freeradius.org>
Thu, 12 Jan 2017 15:38:30 +0000 (10:38 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 12 Jan 2017 15:39:35 +0000 (10:39 -0500)
src/util/receiver.c

index 86f371f659d3b3860f4711c9e29c0dbb3b73d9e7..5473e000d6ef0497b495b62aaf159c0141c28198 100644 (file)
@@ -208,9 +208,9 @@ static int fr_receiver_send_request(fr_receiver_t *rc, fr_channel_data_t *cd)
  * @param[in] ctx the receiver
  * @param[in] wake the time when the event loop will wake up.
  */
-static int fr_receiver_idle(void *ctx, struct timeval *wake)
+static int fr_receiver_idle(UNUSED void *ctx, struct timeval *wake)
 {
-       fr_receiver_t *rc = ctx;
+//     fr_receiver_t *rc = ctx;
 
 #ifndef NDEBUG
        talloc_get_type_abort(rc, fr_receiver_t);