Fixed BACNET_APPLICATION_DATA_VALUE declarations to be initialized so that the next pointer is NULL by default. (#814)

This commit is contained in:
Steve Karg
2024-10-18 07:43:39 -05:00
committed by GitHub
parent ac7dee0021
commit c3cb72bc41
88 changed files with 99 additions and 99 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ int bacnet_time_value_encode(uint8_t *apdu, const BACNET_TIME_VALUE *value)
{
int len;
int apdu_len = 0;
BACNET_APPLICATION_DATA_VALUE data;
BACNET_APPLICATION_DATA_VALUE data = { 0 };
if (!value || !is_data_value_schedule_compatible(value->Value.tag)) {
return BACNET_STATUS_ERROR;