Missing break in switch

This commit is contained in:
xiongweichao 2021-11-17 11:15:15 +08:00
parent 5152b33385
commit ce2d72ddfb
2 changed files with 6 additions and 14 deletions

View File

@ -1,16 +1,8 @@
// Copyright 2015-2016 Espressif Systems (Shanghai) PTE LTD /*
// * SPDX-FileCopyrightText: 2015-2021 Espressif Systems (Shanghai) CO LTD
// Licensed under the Apache License, Version 2.0 (the "License"); *
// you may not use this file except in compliance with the License. * SPDX-License-Identifier: Apache-2.0
// You may obtain a copy of the License at */
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#include "common/bt_target.h" #include "common/bt_target.h"
#include <stdlib.h> #include <stdlib.h>
@ -395,6 +387,7 @@ static void btc_dm_auth_cmpl_evt (tBTA_DM_AUTH_CMPL *p_auth_cmpl)
break; break;
default: default:
status = BT_STATUS_FAIL; status = BT_STATUS_FAIL;
break;
} }
} }
#if (BTC_GAP_BT_INCLUDED == TRUE) #if (BTC_GAP_BT_INCLUDED == TRUE)

View File

@ -238,7 +238,6 @@ components/bt/host/bluedroid/bta/sys/include/bta_sys_int.h
components/bt/host/bluedroid/bta/sys/utl.c components/bt/host/bluedroid/bta/sys/utl.c
components/bt/host/bluedroid/btc/core/btc_ble_storage.c components/bt/host/bluedroid/btc/core/btc_ble_storage.c
components/bt/host/bluedroid/btc/core/btc_config.c components/bt/host/bluedroid/btc/core/btc_config.c
components/bt/host/bluedroid/btc/core/btc_dm.c
components/bt/host/bluedroid/btc/core/btc_main.c components/bt/host/bluedroid/btc/core/btc_main.c
components/bt/host/bluedroid/btc/core/btc_profile_queue.c components/bt/host/bluedroid/btc/core/btc_profile_queue.c
components/bt/host/bluedroid/btc/core/btc_sm.c components/bt/host/bluedroid/btc/core/btc_sm.c