Bugfix/bsd compile warnings (#307)

* Fix FreeBSD compile warnings

* remove example app from ports/bsd. OS based apps are in apps folder

Co-authored-by: Steve Karg <skarg@users.sourceforge.net>
This commit is contained in:
Steve Karg
2022-07-19 09:54:24 -05:00
committed by GitHub
parent c7738dfaf2
commit 1388b668f9
6 changed files with 4 additions and 277 deletions
-1
View File
@@ -157,7 +157,6 @@ static void network_control_handler(BACNET_ADDRESS *src,
uint16_t npdu_len)
{
uint16_t dnet = 0;
uint16_t len = 0;
uint8_t status = 0;
switch (npdu_data->network_message_type) {
+1 -1
View File
@@ -465,7 +465,7 @@ bool Color_Default_Fade_Time_Set(uint32_t object_instance, uint32_t value)
*/
BACNET_COLOR_TRANSITION Color_Transition(uint32_t object_instance)
{
BACNET_COLOR_TRANSITION value = BACNET_COLOR_OPERATION_IN_PROGRESS_MAX;
BACNET_COLOR_TRANSITION value = BACNET_COLOR_TRANSITION_NONE;
struct object_data *pObject;
pObject = Keylist_Data(Object_List, object_instance);
+1 -1
View File
@@ -641,7 +641,7 @@ bool Color_Temperature_Default_Step_Increment_Set(
*/
BACNET_COLOR_TRANSITION Color_Temperature_Transition(uint32_t object_instance)
{
BACNET_COLOR_TRANSITION value = BACNET_COLOR_OPERATION_IN_PROGRESS_MAX;
BACNET_COLOR_TRANSITION value = BACNET_COLOR_TRANSITION_NONE;
struct object_data *pObject;
pObject = Keylist_Data(Object_List, object_instance);
+1 -1
View File
@@ -189,7 +189,7 @@ CCOV_ABORT:
if (bytes_sent <= 0) {
PRINTF("CCOV: Failed to send PDU (%s)!\n", strerror(errno));
}
bytes_sent = bytes_sent;
(void)bytes_sent;
return;
}