1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-08-13 17:03:46 -04:00

fixed a compilation warning

This commit is contained in:
Aurelien Foret 2006-01-26 22:18:07 +00:00
parent 831ff882ae
commit 819c265cdb

View File

@ -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;