summaryrefslogtreecommitdiff
path: root/lib/libalpm/add.c
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2006-01-26 22:18:07 +0000
committerAurelien Foret <aurelien@archlinux.org>2006-01-26 22:18:07 +0000
commit819c265cdb404a4fdcc76ba7b05f0697eb4f4674 (patch)
treed1b7312df35b7f06e4cafef0d7742ecb980bc841 /lib/libalpm/add.c
parent831ff882ae70e83af0369a6c9a6faf825b8a884a (diff)
downloadpacman-819c265cdb404a4fdcc76ba7b05f0697eb4f4674.tar.xz
fixed a compilation warning
Diffstat (limited to 'lib/libalpm/add.c')
-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;