nuttx/drivers/modem/alt1250
Xiang Xiao 0d0867484a modem/alt1250: Fix 'inst' may be used uninitialized
In function 'unlock_evtbufinst',
    inlined from 'parse_altcompkt' at modem/alt1250/alt1250.c:919:7,
    inlined from 'altcom_recvthread' at modem/alt1250/alt1250.c:968:21:
Error: modem/alt1250/alt1250.c:385:3: error: 'inst' may be used uninitialized [-Werror=maybe-uninitialized]
  385 |   nxmutex_unlock(&inst->stat_lock);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
modem/alt1250/alt1250.c: In function 'altcom_recvthread':
modem/alt1250/alt1250.c:822:26: note: 'inst' was declared here
  822 |   FAR alt_evtbuf_inst_t *inst;
      |                          ^~~~

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-12-19 08:36:49 +08:00
..
alt1250.c modem/alt1250: Fix 'inst' may be used uninitialized 2023-12-19 08:36:49 +08:00
alt1250.h
altcom_cmd_log.h
altcom_cmd_sms.h
altcom_cmd_sock.h
altcom_cmd.h
altcom_errno.c
altcom_errno.h
altcom_hdlr_firmware.c
altcom_hdlr_firmware.h
altcom_hdlr_log.c
altcom_hdlr_log.h
altcom_hdlr_net.c
altcom_hdlr_net.h
altcom_hdlr_other.c
altcom_hdlr_other.h
altcom_hdlr_pdn.c
altcom_hdlr_pdn.h
altcom_hdlr_pin.c
altcom_hdlr_pin.h
altcom_hdlr_psave.c
altcom_hdlr_psave.h
altcom_hdlr_radio.c
altcom_hdlr_radio.h
altcom_hdlr_sim.c
altcom_hdlr_sim.h
altcom_hdlr_sms.c
altcom_hdlr_sms.h
altcom_hdlr_socket.c
altcom_hdlr_socket.h
altcom_hdlr.c
altcom_hdlr.h
altcom_lwm2m_hdlr.c
altcom_lwm2m_hdlr.h
altcom_pkt.c
altcom_pkt.h
altmdm_event.c
altmdm_event.h
altmdm_spi.c
altmdm_spi.h
altmdm_timer.c
altmdm_timer.h
altmdm.c
altmdm.h
CMakeLists.txt
Kconfig
Make.defs