From 1861a1de6785fd23c3c0a85df37083dec51f74aa Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 9 Feb 2014 20:08:13 +0100 Subject: tool_metalink: fix compiler warning when built without metalink --- src/tool_metalink.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/tool_metalink.h b/src/tool_metalink.h index a7ff0e822..f0390bbae 100644 --- a/src/tool_metalink.h +++ b/src/tool_metalink.h @@ -7,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2013, Daniel Stenberg, , et al. + * Copyright (C) 1998 - 2014, Daniel Stenberg, , 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 -- cgit v1.2.3