From: Alan T. DeKok Date: Thu, 16 Sep 2021 19:27:33 +0000 (-0400) Subject: shut up scanner X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=970453e414d575a2d3b9cb3ed469afb1c4194d8a;p=thirdparty%2Ffreeradius-server.git shut up scanner --- diff --git a/src/listen/cron/proto_cron_crontab.c b/src/listen/cron/proto_cron_crontab.c index 2c2d07befcc..a5ca90e3335 100644 --- a/src/listen/cron/proto_cron_crontab.c +++ b/src/listen/cron/proto_cron_crontab.c @@ -581,8 +581,12 @@ static void do_cron(fr_event_list_t *el, fr_time_t now, void *uctx) (void) mktime(&w_tm); /* normalize it */ tm_wday = w_tm.tm_wday; +#ifndef NDEBUG w_day = get_next(&w_tm, &thread->inst->tab[4]); fr_assert(w_day); +#else + (void) get_next(&w_tm, &thread->inst->tab[4]); +#endif } /*