quantize : do not use 'else' after 'return' (clang-tidy)

This is recommended by the 'readability-else-after-return' check.
This commit is contained in:
Cebtenzzre 2023-09-05 19:43:43 -04:00
parent b3d79bd346
commit 6a9d1bd023

View file

@ -143,11 +143,10 @@ int main(int argc, char ** argv) {
if (!try_parse_ftype(argv[arg_idx], params.ftype, ftype_str)) { if (!try_parse_ftype(argv[arg_idx], params.ftype, ftype_str)) {
fprintf(stderr, "%s: invalid ftype '%s'\n", __func__, argv[3]); fprintf(stderr, "%s: invalid ftype '%s'\n", __func__, argv[3]);
return 1; return 1;
} else { }
if (ftype_str == "COPY") { if (ftype_str == "COPY") {
params.only_copy = true; params.only_copy = true;
} }
}
arg_idx++; arg_idx++;
} }