mirror of
https://github.com/curl/curl.git
synced 2026-04-11 12:01:42 +08:00
clang-tidy: check readability-redundant-control-flow
Also fix fallouts. Ref: https://clang.llvm.org/extra/clang-tidy/checks/readability/redundant-control-flow.html Closes #20625
This commit is contained in:
parent
c878160e9c
commit
bd60df527c
@ -15,4 +15,5 @@ Checks: >-
|
||||
bugprone-suspicious-realloc-usage,
|
||||
misc-const-correctness,
|
||||
portability-*,
|
||||
readability-named-parameter
|
||||
readability-named-parameter,
|
||||
readability-redundant-control-flow
|
||||
|
||||
@ -211,7 +211,6 @@ static void showUsage(void)
|
||||
" port.\n");
|
||||
fprintf(stderr, " --help Print this help.\n");
|
||||
fprintf(stderr, "\n");
|
||||
return;
|
||||
}
|
||||
|
||||
int main(int argc, const char *argv[])
|
||||
|
||||
@ -878,7 +878,6 @@ abort:
|
||||
curlx_close(test->ofile);
|
||||
test->ofile = 0;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Loading…
Reference in New Issue
Block a user