Bugfix/fix splint warnings (#250)
* Fix SPLINT to perform static defect analysis Fix the SPLINT invocation in Makefile Fix C files where SPLINT detected problems. Remove UCIX check from SPLINT Use SPLINT friendly parsing code disable for bacsec Co-authored-by: Steve Karg <skarg@users.sourceforge.net>
This commit is contained in:
@@ -299,10 +299,10 @@ bool Analog_Value_Object_Name(
|
||||
*/
|
||||
unsigned Analog_Value_Event_State(uint32_t object_instance)
|
||||
{
|
||||
unsigned index = 0;
|
||||
unsigned state = EVENT_STATE_NORMAL;
|
||||
|
||||
#if defined(INTRINSIC_REPORTING)
|
||||
unsigned index = 0;
|
||||
|
||||
index = Analog_Value_Instance_To_Index(object_instance);
|
||||
if (index < MAX_ANALOG_VALUES) {
|
||||
state = AV_Descr[index].Event_State;
|
||||
|
||||
Reference in New Issue
Block a user