mirror of
https://github.com/stargieg/bacnet-stack
synced 2025-10-26 23:35:52 +08:00
fix gcc warnings
This commit is contained in:
parent
06d42d4c2e
commit
05e9c5757f
|
|
@ -570,7 +570,7 @@ uint8_t Analog_Value_Reliability(
|
|||
{
|
||||
ANALOG_VALUE_DESCR *CurrentAV;
|
||||
unsigned index = 0; /* offset from instance lookup */
|
||||
uint8_t value;
|
||||
uint8_t value = 0;
|
||||
|
||||
index = Analog_Value_Instance_To_Index(object_instance);
|
||||
if (index < max_analog_values_int) {
|
||||
|
|
|
|||
|
|
@ -1675,7 +1675,7 @@ int Binary_Input_Event_Information(
|
|||
unsigned index,
|
||||
BACNET_GET_EVENT_INFORMATION_DATA * getevent_data)
|
||||
{
|
||||
BINARY_INPUT_DESCR *CurrentBI;
|
||||
//BINARY_INPUT_DESCR *CurrentBI;
|
||||
bool IsNotAckedTransitions;
|
||||
bool IsActiveEvent;
|
||||
int i;
|
||||
|
|
@ -1683,7 +1683,7 @@ int Binary_Input_Event_Information(
|
|||
|
||||
/* check index */
|
||||
if (index < max_binary_inputs) {
|
||||
CurrentBI = &BI_Descr[index];
|
||||
//CurrentBI = &BI_Descr[index];
|
||||
/* Event_State not equal to NORMAL */
|
||||
IsActiveEvent = (BI_Descr[index].Event_State != EVENT_STATE_NORMAL);
|
||||
|
||||
|
|
|
|||
|
|
@ -1666,7 +1666,7 @@ int Multistate_Input_Event_Information(
|
|||
unsigned index,
|
||||
BACNET_GET_EVENT_INFORMATION_DATA * getevent_data)
|
||||
{
|
||||
MULTI_STATE_INPUT_DESCR *CurrentMSI;
|
||||
//MULTI_STATE_INPUT_DESCR *CurrentMSI;
|
||||
bool IsNotAckedTransitions;
|
||||
bool IsActiveEvent;
|
||||
int i;
|
||||
|
|
@ -1674,7 +1674,7 @@ int Multistate_Input_Event_Information(
|
|||
|
||||
/* check index */
|
||||
if (index < max_multi_state_inputs_int) {
|
||||
CurrentMSI = &MSI_Descr[index];
|
||||
//CurrentMSI = &MSI_Descr[index];
|
||||
/* Event_State not equal to NORMAL */
|
||||
IsActiveEvent = (MSI_Descr[index].Event_State != EVENT_STATE_NORMAL);
|
||||
|
||||
|
|
|
|||
|
|
@ -1666,7 +1666,7 @@ int Multistate_Output_Event_Information(
|
|||
unsigned index,
|
||||
BACNET_GET_EVENT_INFORMATION_DATA * getevent_data)
|
||||
{
|
||||
MULTI_STATE_OUTPUT_DESCR *CurrentMSO;
|
||||
//MULTI_STATE_OUTPUT_DESCR *CurrentMSO;
|
||||
bool IsNotAckedTransitions;
|
||||
bool IsActiveEvent;
|
||||
int i;
|
||||
|
|
@ -1674,7 +1674,7 @@ int Multistate_Output_Event_Information(
|
|||
|
||||
/* check index */
|
||||
if (index < max_multi_state_outputs_int) {
|
||||
CurrentMSO = &MSO_Descr[index];
|
||||
//CurrentMSO = &MSO_Descr[index];
|
||||
/* Event_State not equal to NORMAL */
|
||||
IsActiveEvent = (MSO_Descr[index].Event_State != EVENT_STATE_NORMAL);
|
||||
|
||||
|
|
|
|||
|
|
@ -1715,7 +1715,7 @@ int Multistate_Value_Event_Information(
|
|||
unsigned index,
|
||||
BACNET_GET_EVENT_INFORMATION_DATA * getevent_data)
|
||||
{
|
||||
MULTI_STATE_VALUE_DESCR *CurrentMSV;
|
||||
//MULTI_STATE_VALUE_DESCR *CurrentMSV;
|
||||
bool IsNotAckedTransitions;
|
||||
bool IsActiveEvent;
|
||||
int i;
|
||||
|
|
@ -1723,7 +1723,7 @@ int Multistate_Value_Event_Information(
|
|||
|
||||
/* check index */
|
||||
if (index < max_multi_state_values_int) {
|
||||
CurrentMSV = &MSV_Descr[index];
|
||||
//CurrentMSV = &MSV_Descr[index];
|
||||
/* Event_State not equal to NORMAL */
|
||||
IsActiveEvent = (MSV_Descr[index].Event_State != EVENT_STATE_NORMAL);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user