zephyr/subsys/modem
Fabian Kainka c6b663e50b drivers: modem: initialize variables to avoid warn
The variables 'first' and 'next' in function 'stats_buffer_list_first()'
and 'stats_buffer_list_next()' were potentially used uninitialized.

Depending on the compiler and target architecture, this can lead to
different behavior, including warnings or errors when using strict
warning flags.

By initializing these pointers to 'NULL', we ensure consistent and
expected behavior across all toolchains and configurations.

Signed-off-by: Fabian Kainka <kainka@cognid.de>
2024-11-19 10:04:58 -05:00
..
backends
CMakeLists.txt
Kconfig
modem_chat.c
modem_cmux.c modem: cmux: added validation of cmux frame length 2024-11-07 08:31:48 -06:00
modem_pipe.c modem: pipe: Add explicit timeout to sync APIs 2024-07-29 14:14:42 +02:00
modem_pipelink.c
modem_ppp.c
modem_stats.c drivers: modem: initialize variables to avoid warn 2024-11-19 10:04:58 -05:00
modem_ubx.c modem: ubx: fix incoming byte processing 2024-08-02 03:29:18 -04:00