mirror of
https://github.com/curl/curl.git
synced 2026-07-28 05:53:11 +03:00
tidy-up: move CURL_UNCONST() out from macro curl_unicodefree()
To stop applying it where not needed (most uses) and make it visible
where it's actually used (5 uses).
Follow-up to f4e23950c7 #16142
Closes #19606
This commit is contained in:
parent
b0d23b901f
commit
47b8e1dbd3
3 changed files with 6 additions and 6 deletions
|
|
@ -78,6 +78,6 @@ typedef union {
|
|||
#endif /* UNICODE && _WIN32 */
|
||||
|
||||
/* the purpose of this macro is to free() without being traced by memdebug */
|
||||
#define curlx_unicodefree(ptr) (free)(CURL_UNCONST(ptr))
|
||||
#define curlx_unicodefree(ptr) (free)(ptr)
|
||||
|
||||
#endif /* HEADER_CURL_MULTIBYTE_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue