* Unused variable 'path'
This commit is contained in:
parent
42a0dddc95
commit
2a89808667
1 changed files with 1 additions and 2 deletions
|
@ -623,7 +623,7 @@ int _alpm_add_commit(pmtrans_t *trans, pmdb_t *db)
|
||||||
alpm_logaction(_("warning: %s saved as %s"), expath, newpath);
|
alpm_logaction(_("warning: %s saved as %s"), expath, newpath);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if(md5_orig || sha1_orig) {
|
} else if(md5_pkg || sha1_pkg) {
|
||||||
/* PM_UPGRADE */
|
/* PM_UPGRADE */
|
||||||
int installnew = 0;
|
int installnew = 0;
|
||||||
|
|
||||||
|
@ -701,7 +701,6 @@ int _alpm_add_commit(pmtrans_t *trans, pmdb_t *db)
|
||||||
/* calculate an md5 or sha1 hash if this is in info->backup */
|
/* calculate an md5 or sha1 hash if this is in info->backup */
|
||||||
for(lp = info->backup; lp; lp = lp->next) {
|
for(lp = info->backup; lp; lp = lp->next) {
|
||||||
char *fn, *md5, *sha1;
|
char *fn, *md5, *sha1;
|
||||||
char path[PATH_MAX];
|
|
||||||
char *file = lp->data;
|
char *file = lp->data;
|
||||||
|
|
||||||
if(!file) continue;
|
if(!file) continue;
|
||||||
|
|
Loading…
Add table
Reference in a new issue