mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-07 06:34:34 +02:00
Merge branch 'bugfix/esp_ble_mesh_gcc12_compile' into 'master'
ble_mesh: fix gcc-12 compile errors Closes MTWJ-234 See merge request espressif/esp-idf!22500
This commit is contained in:
@@ -80,7 +80,7 @@ void btc_ble_mesh_health_client_arg_deep_free(btc_msg_t *msg)
|
|||||||
{
|
{
|
||||||
btc_ble_mesh_health_client_args_t *arg = NULL;
|
btc_ble_mesh_health_client_args_t *arg = NULL;
|
||||||
|
|
||||||
if (!msg || !msg->arg) {
|
if (!msg) {
|
||||||
BT_ERR("%s, Invalid parameter", __func__);
|
BT_ERR("%s, Invalid parameter", __func__);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -180,7 +180,7 @@ static void btc_ble_mesh_health_client_free_req_data(btc_msg_t *msg)
|
|||||||
{
|
{
|
||||||
esp_ble_mesh_health_client_cb_param_t *arg = NULL;
|
esp_ble_mesh_health_client_cb_param_t *arg = NULL;
|
||||||
|
|
||||||
if (!msg || !msg->arg) {
|
if (!msg) {
|
||||||
BT_ERR("%s, Invalid parameter", __func__);
|
BT_ERR("%s, Invalid parameter", __func__);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -393,7 +393,7 @@ void btc_ble_mesh_health_client_call_handler(btc_msg_t *msg)
|
|||||||
btc_ble_mesh_health_client_args_t *arg = NULL;
|
btc_ble_mesh_health_client_args_t *arg = NULL;
|
||||||
esp_ble_mesh_health_client_cb_param_t cb = {0};
|
esp_ble_mesh_health_client_cb_param_t cb = {0};
|
||||||
|
|
||||||
if (!msg || !msg->arg) {
|
if (!msg) {
|
||||||
BT_ERR("%s, Invalid parameter", __func__);
|
BT_ERR("%s, Invalid parameter", __func__);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -433,7 +433,7 @@ void btc_ble_mesh_health_client_cb_handler(btc_msg_t *msg)
|
|||||||
{
|
{
|
||||||
esp_ble_mesh_health_client_cb_param_t *param = NULL;
|
esp_ble_mesh_health_client_cb_param_t *param = NULL;
|
||||||
|
|
||||||
if (!msg || !msg->arg) {
|
if (!msg) {
|
||||||
BT_ERR("%s, Invalid parameter", __func__);
|
BT_ERR("%s, Invalid parameter", __func__);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user