Commit dc42b3a1 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Pass scan-build (clang static analyser) with 0 bug reported

parent acc2067b
......@@ -1158,7 +1158,9 @@ FV_list *Find_All_Calling_FV(Interface * i)
add_error();
}
}
if (RI == iface->direction &&
if (NULL != iface->distant_name && NULL != i->name &&
NULL != iface->distant_fv && NULL != i->parent_fv &&
RI == iface->direction &&
!strcmp (iface->distant_name, i->name) &&
!strcmp (iface->distant_fv, i->parent_fv->name))
match = true;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment