mirror of
https://github.com/curl/curl.git
synced 2026-08-25 08:23:31 +03:00
compile: warn on unused return code from Curl_client_write()
This commit is contained in:
parent
dca257f27e
commit
0d99cdbeed
2 changed files with 4 additions and 2 deletions
|
|
@ -643,8 +643,10 @@ int netware_init(void);
|
|||
#if defined(__GNUC__) && ((__GNUC__ >= 3) || \
|
||||
((__GNUC__ == 2) && defined(__GNUC_MINOR__) && (__GNUC_MINOR__ >= 7)))
|
||||
# define UNUSED_PARAM __attribute__((__unused__))
|
||||
# define WARN_UNUSED_RESULT __attribute__((warn_unused_result))
|
||||
#else
|
||||
# define UNUSED_PARAM /*NOTHING*/
|
||||
# define WARN_UNUSED_RESULT
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue