fix oclint NPATH_COMPLEXITY custom threshold

This commit is contained in:
Kurtis Rader 2017-07-11 17:53:43 -07:00
parent b3d3e07c55
commit 8754f776d8
2 changed files with 3 additions and 2 deletions

View file

@ -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:

View file

@ -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;
}