fix compile warnings

This commit is contained in:
Steve Karg
2024-02-03 08:02:44 -06:00
parent 9ece658575
commit f326b1347f
2 changed files with 4 additions and 1 deletions
+4
View File
@@ -1097,6 +1097,8 @@ BACNET_APPLICATION_TAG bacapp_context_tag_type(
case 1:
tag = BACNET_APPLICATION_TAG_SIGNED_INT;
break;
default:
break;
}
break;
case PROP_PRESCALE:
@@ -1112,6 +1114,8 @@ BACNET_APPLICATION_TAG bacapp_context_tag_type(
case 1:
tag = BACNET_APPLICATION_TAG_UNSIGNED_INT;
break;
default:
break;
}
break;
default:
-1
View File
@@ -710,7 +710,6 @@ void Calendar_Write_Disable(uint32_t object_instance)
*/
uint32_t Calendar_Create(uint32_t object_instance)
{
bool status = false;
struct object_data *pObject = NULL;
int index = 0;