Skip to content

Commit 4c0e892

Browse files
committed
fix: warning: 'status' may be used uninitialized in this function
Signed-off-by: Oleg Kokorin <[email protected]>
1 parent 5f37567 commit 4c0e892

File tree

1 file changed

+1
-1
lines changed
  • connectivity/FEATURE_BLE/libraries/TARGET_CORDIO_LL/stack/controller/sources/ble/lctr

1 file changed

+1
-1
lines changed

connectivity/FEATURE_BLE/libraries/TARGET_CORDIO_LL/stack/controller/sources/ble/lctr/lctr_main_iso.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -988,7 +988,7 @@ uint8_t LctrIsoReadTestCounter(uint16_t handle, LlIsoTestCtrs_t *pStats)
988988
/*************************************************************************************************/
989989
uint8_t LctrIsoTestEnd(uint16_t handle, LlIsoTestCtrs_t *pStats)
990990
{
991-
uint8_t status;
991+
uint8_t status = LL_ERROR_CODE_UNSPECIFIED_ERROR;
992992
lctrCisCtx_t *pCisCtx;
993993
lctrBisCtx_t *pBisCtx;
994994

0 commit comments

Comments
 (0)