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