diff --git a/bacnet-stack/demo/object/ai.c b/bacnet-stack/demo/object/ai.c index 85251ee4..96f2b1f4 100644 --- a/bacnet-stack/demo/object/ai.c +++ b/bacnet-stack/demo/object/ai.c @@ -579,7 +579,7 @@ int Analog_Input_Read_Property( /* if no index was specified, then try to encode the entire list */ /* into one packet. */ else if (rpdata->array_index == BACNET_ARRAY_ALL) { - for (i = 0; i < MAX_BACNET_EVENT_TRANSITION; i++) {; + for (i = 0; i < MAX_BACNET_EVENT_TRANSITION; i++) { len = encode_opening_tag(&apdu[apdu_len], TIME_STAMP_DATETIME); diff --git a/bacnet-stack/demo/object/av.c b/bacnet-stack/demo/object/av.c index 01c85151..149b6352 100644 --- a/bacnet-stack/demo/object/av.c +++ b/bacnet-stack/demo/object/av.c @@ -580,7 +580,7 @@ int Analog_Value_Read_Property( /* if no index was specified, then try to encode the entire list */ /* into one packet. */ else if (rpdata->array_index == BACNET_ARRAY_ALL) { - for (i = 0; i < MAX_BACNET_EVENT_TRANSITION; i++) {; + for (i = 0; i < MAX_BACNET_EVENT_TRANSITION; i++) { len = encode_opening_tag(&apdu[apdu_len], TIME_STAMP_DATETIME);