fix oclint NPATH_COMPLEXITY custom threshold
This commit is contained in:
parent
b3d3e07c55
commit
8754f776d8
4
.oclint
4
.oclint
@ -44,8 +44,8 @@ rule-configurations:
|
||||
value: 14
|
||||
|
||||
# We're willing to allow slighly more execution paths through a function.
|
||||
# Default is 300.
|
||||
- key: HighNPathComplexity
|
||||
# Default is 200.
|
||||
- key: NPATH_COMPLEXITY
|
||||
value: 300
|
||||
|
||||
disable-rules:
|
||||
|
@ -441,6 +441,7 @@ static int argparse_parse_args(argparse_cmd_opts_t &opts, const wcstring_list_t
|
||||
streams.err.append_format(BUILTIN_ERR_MAX_ARG_COUNT1, cmd, opts.max_args, opts.argv.size());
|
||||
return STATUS_CMD_ERROR;
|
||||
}
|
||||
|
||||
return STATUS_CMD_OK;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user