Fix [30]: Add PRINT_ENABLED around o/w unref'd vars (#31)

This commit is contained in:
shuegr-personal
2020-01-15 21:54:35 -08:00
committed by Steve Karg
parent e0c2a452e2
commit 158ff5b8f2
3 changed files with 6 additions and 0 deletions
+2
View File
@@ -68,7 +68,9 @@ void handler_ccov_notification(uint8_t *service_request,
BACNET_NPDU_DATA npdu_data;
BACNET_COV_DATA cov_data;
BACNET_PROPERTY_VALUE property_value[MAX_COV_PROPERTIES];
#if PRINT_ENABLED
BACNET_PROPERTY_VALUE *pProperty_value = NULL;
#endif
int len = 0;
int pdu_len = 0;
int bytes_sent = 0;