mirror of
https://github.com/curl/curl.git
synced 2026-07-08 15:07:16 +03:00
tool_metalink: fix compiler warning when built without metalink
This commit is contained in:
parent
86a40f5d1a
commit
1861a1de67
1 changed files with 2 additions and 2 deletions
|
|
@ -7,7 +7,7 @@
|
|||
* | (__| |_| | _ <| |___
|
||||
* \___|\___/|_| \_\_____|
|
||||
*
|
||||
* Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
* Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
*
|
||||
* This software is licensed as described in the file COPYING, which
|
||||
* you should have received as part of this distribution. The terms
|
||||
|
|
@ -154,7 +154,7 @@ void metalink_cleanup(void);
|
|||
#else /* USE_METALINK */
|
||||
|
||||
#define count_next_metalink_resource(x) 0
|
||||
#define clean_metalink(x) Curl_nop_stmt
|
||||
#define clean_metalink(x) (void)x
|
||||
|
||||
/* metalink_cleanup() takes no arguments */
|
||||
#define metalink_cleanup() Curl_nop_stmt
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue