mirror of
https://github.com/moparisthebest/pacman
synced 2025-01-08 12:28:00 -05:00
fixed a compilation warning
This commit is contained in:
parent
831ff882ae
commit
819c265cdb
@ -503,7 +503,6 @@ int add_commit(pmtrans_t *trans, pmdb_t *db)
|
||||
_alpm_log(PM_LOG_DEBUG, "action: installing new file");
|
||||
installnew = 1;
|
||||
} else {
|
||||
char newpath[PATH_MAX];
|
||||
_alpm_log(PM_LOG_DEBUG, "action: leaving file in place, installing new one as .pacnew\n");
|
||||
strncat(expath, ".pacnew", PATH_MAX);
|
||||
installnew = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user