mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:31:41 +03:00
clang-tidy: drop some redundant conditions reported by misc-redundant-expression
Not enforced due to false positives, and because in cases a redundant expression (e.g. encapsulated in a macro) may be preferred. Ref: https://clang.llvm.org/extra/clang-tidy/checks/misc/redundant-expression.html Closes #20644
This commit is contained in:
parent
078b3031ea
commit
020f48d00c
4 changed files with 5 additions and 5 deletions
|
|
@ -435,7 +435,7 @@ static int proxy_h2_on_frame_send(nghttp2_session *session,
|
|||
|
||||
(void)session;
|
||||
DEBUGASSERT(data);
|
||||
if(data && Curl_trc_cf_is_verbose(cf, data)) {
|
||||
if(Curl_trc_cf_is_verbose(cf, data)) {
|
||||
char buffer[256];
|
||||
int len;
|
||||
len = Curl_nghttp2_fr_print(frame, buffer, sizeof(buffer) - 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue