Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

download: remove once used variable

  • Loading branch information...
commit fe5ade62c457a66993dc008b4fe05f3c7d9eb6a7 1 parent 900d3a4
@falconindy authored
Showing with 2 additions and 3 deletions.
  1. +2 −3 download.c
View
5 download.c
@@ -195,7 +195,7 @@ int download_taurball(struct aur_pkg_t *aurpkg) {
int cower_do_download(alpm_list_t *targets) {
alpm_list_t *i;
- int ret = 0, dl_res;
+ int ret = 0;
alpm_quick_init();
@@ -205,10 +205,9 @@ int cower_do_download(alpm_list_t *targets) {
alpm_list_t *results = query_aur_rpc(AUR_QUERY_TYPE_INFO, i->data);
if (results) { /* Found it in the AUR */
- dl_res = download_taurball(results->data);
/* If the download didn't go smoothly, it's not ok to get depends */
- if (dl_res == 0 && config->getdeps)
+ if (!download_taurball(results->data) && config->getdeps)
get_pkg_dependencies(i->data);
aur_pkg_free(results->data);
Please sign in to comment.
Something went wrong with that request. Please try again.