Fix [30]: Add PRINT_ENABLED around o/w unref'd vars (#31)
This commit is contained in:
committed by
Steve Karg
parent
e0c2a452e2
commit
158ff5b8f2
@@ -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;
|
||||
|
||||
@@ -198,7 +198,9 @@ void rpm_ack_print_data(BACNET_READ_ACCESS_DATA *rpm_data)
|
||||
BACNET_OBJECT_PROPERTY_VALUE object_value; /* for bacapp printing */
|
||||
BACNET_PROPERTY_REFERENCE *listOfProperties;
|
||||
BACNET_APPLICATION_DATA_VALUE *value;
|
||||
#if PRINT_ENABLED
|
||||
bool array_value = false;
|
||||
#endif
|
||||
|
||||
if (rpm_data) {
|
||||
#if PRINT_ENABLED
|
||||
|
||||
@@ -61,7 +61,9 @@ void handler_ucov_notification(
|
||||
{
|
||||
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;
|
||||
|
||||
/* src not needed for this application */
|
||||
|
||||
Reference in New Issue
Block a user