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
@@ -171,7 +171,7 @@ int bacnet_weeklyschedule_context_decode(
bool bacnet_weeklyschedule_same(
const BACNET_WEEKLY_SCHEDULE *value1, const BACNET_WEEKLY_SCHEDULE *value2)
{
BACNET_APPLICATION_DATA_VALUE adv1, adv2;
BACNET_APPLICATION_DATA_VALUE adv1 = { 0 }, adv2 = { 0 };
const BACNET_DAILY_SCHEDULE *ds1, *ds2;
const BACNET_TIME_VALUE *tv1, *tv2;
int wi, ti;