]> git.feebdaed.xyz Git - 0xmirror/curl.git/commitdiff
binmode: delete extra nop instruction from fallback macro
authorViktor Szakats <commit@vsz.me>
Sun, 21 Dec 2025 22:42:21 +0000 (23:42 +0100)
committerViktor Szakats <commit@vsz.me>
Mon, 22 Dec 2025 00:47:21 +0000 (01:47 +0100)
Follow-up to 250d613763dfc29f73010696ee7948f19d07dba9 #15787

Closes #20068

lib/curlx/binmode.h

index 3f356edd597c2ed7abc183d6dca56741c6961de1..991cc89045e275e554ce9ab310c9a9a2279128a2 100644 (file)
@@ -33,7 +33,7 @@
 #  define CURLX_SET_BINMODE(stream)  (void)setmode(fileno(stream), O_BINARY)
 #endif
 #else
-#  define CURLX_SET_BINMODE(stream)  (void)stream; Curl_nop_stmt
+#  define CURLX_SET_BINMODE(stream)  (void)stream
 #endif
 
 #endif /* HEADER_CURL_TOOL_BINMODE_H */