← Commit list

3b9d8412c0

Viktor Szakats
Viktor Szakats
2026-02-25
SUCCESS Duration: 320s

Subject

clang-tidy: add more missing parentheses in macro values

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

lib/vquic/vquic_int.h+1 -1
@@ -78,7 +78,7 @@ struct cf_quic_ctx {
};
#define H3_STREAM_CTX(ctx, data) \
- (data ? Curl_uint32_hash_get(&(ctx)->streams, (data)->mid) : NULL)
+ ((data) ? Curl_uint32_hash_get(&(ctx)->streams, (data)->mid) : NULL)
CURLcode vquic_ctx_init(struct Curl_easy *data,
struct cf_quic_ctx *qctx);
lib/vtls/vtls.h+2 -2
@@ -50,8 +50,8 @@ struct dynbuf;
#ifdef USE_ECH
#include "curlx/base64.h"
-#define ECH_ENABLED(__data__) \
- (__data__->set.tls_ech && !(__data__->set.tls_ech & CURLECH_DISABLE))
+#define ECH_ENABLED(data) \
+ ((data)->set.tls_ech && !((data)->set.tls_ech & CURLECH_DISABLE))
#endif /* USE_ECH */
#define ALPN_ACCEPTED "ALPN: server accepted "