]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Dead code
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sat, 16 Jan 2021 18:11:23 +0000 (18:11 +0000)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sat, 16 Jan 2021 18:11:23 +0000 (18:11 +0000)
src/lib/eap_aka_sim/state_machine.c

index 4db33f1a391038cd647aacb812b569a37577f73e..f3c8dca945b075aff03c6b582a1d39372c248e75 100644 (file)
@@ -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