1
0
Fork 0
CANopenNode/301
Stefan Tauner b6e9107a9a
Refine #585 (#593)
In MR #585 the initialization of HBcons has been protected from dereferencing stream if it's NULL.
However, the logic is now twisted enough to provoke a maybe-uninitialized warning in GCC 13.
While this is strictly a false positive since the generated code would never dereference HBcons if stream == NULL
this patch refines the code to be easier to read for compilers and humans alike by returning early if stream == NULL.
2025-07-29 15:12:44 +02:00
..
CO_config.h Format the .h files using clang-format v15. 2024-07-06 21:54:59 +02:00
CO_driver.h Format comments in the .h files. 2024-07-09 00:17:15 +02:00
CO_Emergency.c Fix and update doxygen documentation. 2024-08-07 00:17:39 +02:00
CO_Emergency.h Format comments in the .h files. 2024-07-09 00:17:15 +02:00
CO_fifo.c Format comments in the .c files. 2024-07-06 21:48:21 +02:00
CO_fifo.h Format comments in the .h files. 2024-07-09 00:17:15 +02:00
CO_HBconsumer.c Refine #585 (#593) 2025-07-29 15:12:44 +02:00
CO_HBconsumer.h Format comments in the .h files. 2024-07-09 00:17:15 +02:00
CO_NMT_Heartbeat.c Fix and update doxygen documentation. 2024-08-07 00:17:39 +02:00
CO_NMT_Heartbeat.h Format comments in the .h files. 2024-07-09 00:17:15 +02:00
CO_Node_Guarding.c Format comments in the .c files. 2024-07-06 21:48:21 +02:00
CO_Node_Guarding.h Format comments in the .h files. 2024-07-09 00:17:15 +02:00
CO_ODinterface.c CO_ODinterface: fix unreachable statement (#548) 2024-10-19 00:51:48 +02:00
CO_ODinterface.h Make OD_requestTPDO() more clear, remove OD_getFlagsPDO(). 2024-10-19 12:42:36 +02:00
CO_PDO.c change for static analysis for CO_RPDO_process function (#564) 2025-03-01 16:54:38 +01:00
CO_PDO.h Format comments in the .h files. 2024-07-09 00:17:15 +02:00
CO_SDOclient.c define variable before it is being assigned (#582) 2025-06-08 17:43:26 +02:00
CO_SDOclient.h Fix and update doxygen documentation. 2024-08-07 00:17:39 +02:00
CO_SDOserver.c define variable before it is being assigned (#582) 2025-06-08 17:43:26 +02:00
CO_SDOserver.h Format comments in the .h files. 2024-07-09 00:17:15 +02:00
CO_SYNC.c CO_SYNC: bugfix, if CO_CONFIG_FLAG_OD_DYNAMIC is disabled. 2024-07-13 15:29:58 +02:00
CO_SYNC.h Fix and update doxygen documentation. 2024-08-07 00:17:39 +02:00
CO_TIME.c Format comments in the .c files. 2024-07-06 21:48:21 +02:00
CO_TIME.h Format comments in the .h files. 2024-07-09 00:17:15 +02:00
crc16-ccitt.c Format the .c files using clang-format v15. 2024-07-06 19:57:06 +02:00
crc16-ccitt.h Format comments in the .h files. 2024-07-09 00:17:15 +02:00