From: Arran Cudbard-Bell Date: Sat, 16 Jan 2021 18:11:23 +0000 (+0000) Subject: Dead code X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5c786d54c5dac4ebfc4268f0e5b07f0f6c871cfc;p=thirdparty%2Ffreeradius-server.git Dead code --- diff --git a/src/lib/eap_aka_sim/state_machine.c b/src/lib/eap_aka_sim/state_machine.c index 4db33f1a391..f3c8dca945b 100644 --- a/src/lib/eap_aka_sim/state_machine.c +++ b/src/lib/eap_aka_sim/state_machine.c @@ -2041,12 +2041,12 @@ static unlang_action_t common_reauthentication_send_resume(rlm_rcode_t *p_result case AKA_SIM_FULLAUTH_ID_REQ: case AKA_SIM_PERMANENT_ID_REQ: default: - REDEBUG("Last requested Full-Auth-Id or Permanent-Identity, " - "but received a Fast-Auth-Id. Cannot continue"); - failure: - return common_failure_notification_enter(p_result, mctx, request, eap_session); + break; } - break; + REDEBUG("Last requested Full-Auth-Id or Permanent-Identity, " + "but received a Fast-Auth-Id. Cannot continue"); + failure: + return common_failure_notification_enter(p_result, mctx, request, eap_session); /* * Policy rejected the user