]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
remove unused assignment
authorAlan T. DeKok <aland@freeradius.org>
Mon, 16 Jan 2023 15:37:37 +0000 (10:37 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 16 Jan 2023 15:37:37 +0000 (10:37 -0500)
src/modules/rlm_tacacs/rlm_tacacs_tcp.c

index 182c0b6b79a392a28c29af3152eca5e757725ac2..b2f2e90ce6c5c9f442d48e9a009704f3e6eef669 100644 (file)
@@ -1003,8 +1003,6 @@ static void request_demux(UNUSED fr_event_list_t *el, fr_trunk_connection_t *tco
                uint8_t                 code = 0;
                fr_pair_list_t          reply;
 
-               fr_time_t               now;
-
                /*
                 *      Ensure that we can read at least one max-sized packet.
                 *
@@ -1118,7 +1116,7 @@ static void request_demux(UNUSED fr_event_list_t *el, fr_trunk_connection_t *tco
                /*
                 *      Only valid packets are processed.
                 */
-               h->last_reply = now = fr_time();
+               h->last_reply = fr_time();
 
                treq->request->reply->code = code;