Bugfix/fix redundant compiler flags (#658)
* Improved GCC compiler flags in ARM, OS, and test builds. Removed redundant flags, and made them consistent across various builds. * Fixed redundant redeclaration of various functions detected by change in compiler flags. * Fixed string truncation warning in bip-init detected by change in compiler flags. * Fixed some set-but-not-used variables by creating dummy functions instead of using macros.
This commit is contained in:
@@ -2520,6 +2520,14 @@ bool bacapp_print_value(
|
||||
|
||||
return retval;
|
||||
}
|
||||
#else
|
||||
bool bacapp_print_value(
|
||||
FILE *stream, BACNET_OBJECT_PROPERTY_VALUE *object_value)
|
||||
{
|
||||
(void)stream;
|
||||
(void)object_value;
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef BACAPP_PRINT_ENABLED
|
||||
@@ -2952,6 +2960,16 @@ bool bacapp_parse_application_data(BACNET_APPLICATION_TAG tag_number,
|
||||
|
||||
return status;
|
||||
}
|
||||
#else
|
||||
bool bacapp_parse_application_data(BACNET_APPLICATION_TAG tag_number,
|
||||
char *argv,
|
||||
BACNET_APPLICATION_DATA_VALUE *value)
|
||||
{
|
||||
(void)tag_number;
|
||||
(void)argv;
|
||||
(void)value;
|
||||
return false;
|
||||
}
|
||||
#endif /* BACAPP_PRINT_ENABLED */
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user