index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Allan McRae <allan@archlinux.org> | 2013-07-10 13:58:57 +1000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-07-22 13:26:42 +1000 |
commit | ef6b6fe06572c75628943fee7067b1ef453c672a (patch) | |
tree | ac1930e4fb1394f942bf64b2b96264afdaf3d05c /lib/libalpm | |
parent | 5cc099a8ab6129b809f80c6d9578dc8f2aba35ab (diff) |
-rw-r--r-- | lib/libalpm/dload.c | 3 |
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 { |