From 79436d1ae0f7f7c302144118de4fe35dedff9f9a Mon Sep 17 00:00:00 2001 From: tbrennan3 Date: Fri, 18 Jun 2010 20:40:43 +0000 Subject: [PATCH] Eliminate the build error in bacepics when PRINT_ENABLED = 0. Still lots of warnings in bacepics, but I don't see an issue with that, for an application whose whole point is to print output. --- bacnet-stack/include/bacapp.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bacnet-stack/include/bacapp.h b/bacnet-stack/include/bacapp.h index 0690c576..c88e8223 100644 --- a/bacnet-stack/include/bacapp.h +++ b/bacnet-stack/include/bacapp.h @@ -189,8 +189,9 @@ extern "C" { BACNET_APPLICATION_DATA_VALUE * value, BACNET_PROPERTY_ID property); #else -#define bacapp_parse_application_data(x,y,z) {(void)x;(void)y;(void)z;} -#define bacapp_print_value(x,y,z) {(void)x;(void)y;(void)z;} +/* Provide harmless return values */ +#define bacapp_parse_application_data(x,y,z) false +#define bacapp_print_value(x,y,z) false #endif #ifdef TEST