mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
typecheck-gcc: allow CURLOPT_STDERR to be NULL too
This commit is contained in:
parent
cccac4fb2b
commit
b8085f493a
@ -470,8 +470,9 @@ _CURL_WARNING(_curl_easy_getinfo_err_curl_socket,
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* evaluates to true if expr is of type FILE* */
|
/* evaluates to true if expr is of type FILE* */
|
||||||
#define _curl_is_FILE(expr) \
|
#define _curl_is_FILE(expr) \
|
||||||
(__builtin_types_compatible_p(__typeof__(expr), FILE *))
|
(_curl_is_NULL(expr) || \
|
||||||
|
(__builtin_types_compatible_p(__typeof__(expr), FILE *)))
|
||||||
|
|
||||||
/* evaluates to true if expr can be passed as POST data (void* or char*) */
|
/* evaluates to true if expr can be passed as POST data (void* or char*) */
|
||||||
#define _curl_is_postfields(expr) \
|
#define _curl_is_postfields(expr) \
|
||||||
|
Loading…
Reference in New Issue
Block a user