Enabled style and CERT-C addon for CPPCHECK (#869)
* Enabled style and CERT-C addon for CPPCHECK with some suppressions and fixed the defects found..
This commit is contained in:
@@ -1587,7 +1587,7 @@ static void MSTP_Zero_Config_State_Confirm(struct mstp_port_struct_t *mstp_port)
|
||||
if (dst == mstp_port->Zero_Config_Station) {
|
||||
match = true;
|
||||
}
|
||||
if (match & (mstp_port->DataLength < MSTP_UUID_SIZE)) {
|
||||
if (match && (mstp_port->DataLength < MSTP_UUID_SIZE)) {
|
||||
match = false;
|
||||
}
|
||||
if (match &&
|
||||
|
||||
Reference in New Issue
Block a user