]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
multi_ev: silence clang-tidy nonsense
authorStefan Eissing <stefan@eissing.org>
Tue, 26 May 2026 09:38:25 +0000 (11:38 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 26 May 2026 11:01:30 +0000 (13:01 +0200)
About a "unnecessary define" - my ass.

Closes #21752

lib/multi_ev.c

index 7ea3b2827e30e331c1920b4c46ec8306e81a3204..0da5b0e9044b3a56c878edfab2e79bb791259186 100644 (file)
@@ -40,7 +40,9 @@ static void mev_in_callback(struct Curl_multi *multi, bool value)
   multi->in_callback = value;
 }
 
+#ifdef DEBUGBUILD
 #define SH_ENTRY_MAGIC 0x570091d
+#endif
 
 /* Information about a socket for which we inform the libcurl application
  * what to supervise (CURL_POLL_IN/CURL_POLL_OUT/CURL_POLL_REMOVE)