]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
As per comment
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 18 Sep 2019 16:06:17 +0000 (11:06 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 18 Sep 2019 16:06:17 +0000 (11:06 -0500)
src/modules/rlm_eap/types/rlm_eap_sim/rlm_eap_sim.c

index b8355136e995689f7990ae6807604057fbd72b29..ef11e066d1ce803d13534fb7d64f386842944ce3 100644 (file)
@@ -1016,6 +1016,7 @@ static rlm_rcode_t mod_process(UNUSED void *instance, UNUSED void *thread, REQUE
                                eap_sim_state_enter(eap_session, EAP_SIM_SERVER_FAILURE_NOTIFICATION);
                                return RLM_MODULE_HANDLED;                      /* We need to process more packets */
                        }
+                       if (!fr_cond_assert(0)) return RLM_MODULE_FAIL;         /* Quiet the stupid compiler */
 
                case EAP_SIM_CLIENT_ERROR:
                {