mirror of
https://dev.iopsys.eu/bbf/icwmp.git
synced 2026-03-14 21:10:02 +01:00
Fix static code analysis
This commit is contained in:
parent
7049e0e9c4
commit
715f2c85ef
3 changed files with 5 additions and 1 deletions
|
|
@ -3,6 +3,7 @@ variables:
|
|||
#VERBOSE: true
|
||||
SOURCE_FOLDER: "."
|
||||
COMPILATION_FIXUP: "cmake ."
|
||||
CPPCHECK_OPTIONS: "--suppress=*:*/usr/include/*"
|
||||
|
||||
include:
|
||||
- project: 'iopsys/gitlab-ci-pipeline'
|
||||
|
|
|
|||
3
.inferconfig
Normal file
3
.inferconfig
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"suppress_errors": ["DEAD_STORE"]
|
||||
}
|
||||
|
|
@ -1011,7 +1011,7 @@ int load_xml_list_node_data(int node_ref, xmlNode *node, struct xml_data_struct
|
|||
return CWMP_OK;
|
||||
}
|
||||
|
||||
bool validate_xml_node_opaque_value(char *node_name, char *opaque, struct xml_tag_validation *validations, int nbre_validations)
|
||||
bool validate_xml_node_opaque_value(const char *node_name, char *opaque, struct xml_tag_validation *validations, int nbre_validations)
|
||||
{
|
||||
int i;
|
||||
if (node_name == NULL) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue