summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libalpm/add.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/libalpm/add.c b/lib/libalpm/add.c
index a91634af..565fa253 100644
--- a/lib/libalpm/add.c
+++ b/lib/libalpm/add.c
@@ -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;