Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm')
-rw-r--r--lib/libalpm/dload.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libalpm/dload.c b/lib/libalpm/dload.c
index b759c78c..342afbc2 100644
--- a/lib/libalpm/dload.c
+++ b/lib/libalpm/dload.c
@@ -625,6 +625,9 @@ int _alpm_download(struct dload_payload *payload, const char *localpath,
#ifdef HAVE_LIBCURL
return curl_download_internal(payload, localpath, final_file, final_url);
#else
+ /* work around unused warnings when building without libcurl */
+ (void)final_file;
+ (void)final_url;
RET_ERR(handle, ALPM_ERR_EXTERNAL_DOWNLOAD, -1);
#endif
} else {