change(ci): enable -Werror=unused-but-set-variable

This commit is contained in:
Alexey Lapshin
2026-07-16 10:54:36 +07:00
parent bf4218a71f
commit 1791325998
27 changed files with 117 additions and 51 deletions
@@ -220,7 +220,6 @@ gatt_svr_register_cb(struct ble_gatt_register_ctxt *ctxt, void *arg)
*/
int dynamic_service(const uint8_t operation, const struct ble_gatt_svc_def *svcs, const ble_uuid_t *uuid) {
int rc = 0;
int i = 0;
switch(operation) {
case 1:
/* add services in gatt_svr_svcs */
@@ -243,7 +242,6 @@ int dynamic_service(const uint8_t operation, const struct ble_gatt_svc_def *svcs
/* not able to delete service return immidietely */
return rc;
}
i++;
return rc;
break;
}
@@ -41,7 +41,6 @@ static void my_post_trans_cb(spi_slave_transaction_t *trans)
//Main application
void app_main(void)
{
int n = 0;
esp_err_t ret;
spi_slave_transaction_t t = {0};
@@ -124,8 +123,6 @@ void app_main(void)
printf("\n");
}
}
n++;
}
}