quantize : do not use 'else' after 'return' (clang-tidy)
This is recommended by the 'readability-else-after-return' check.
This commit is contained in:
parent
b3d79bd346
commit
6a9d1bd023
1 changed files with 3 additions and 4 deletions
|
@ -143,10 +143,9 @@ int main(int argc, char ** argv) {
|
|||
if (!try_parse_ftype(argv[arg_idx], params.ftype, ftype_str)) {
|
||||
fprintf(stderr, "%s: invalid ftype '%s'\n", __func__, argv[3]);
|
||||
return 1;
|
||||
} else {
|
||||
if (ftype_str == "COPY") {
|
||||
params.only_copy = true;
|
||||
}
|
||||
}
|
||||
if (ftype_str == "COPY") {
|
||||
params.only_copy = true;
|
||||
}
|
||||
arg_idx++;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue