diff options
author | Aurelien Foret <aurelien@archlinux.org> | 2006-01-26 23:18:07 +0100 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2006-01-26 23:18:07 +0100 |
commit | 819c265cdb404a4fdcc76ba7b05f0697eb4f4674 (patch) | |
tree | d1b7312df35b7f06e4cafef0d7742ecb980bc841 | |
parent | 831ff882ae70e83af0369a6c9a6faf825b8a884a (diff) | |
download | pacman-819c265cdb404a4fdcc76ba7b05f0697eb4f4674.tar.gz pacman-819c265cdb404a4fdcc76ba7b05f0697eb4f4674.tar.xz |
fixed a compilation warning
-rw-r--r-- | lib/libalpm/add.c | 1 |
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; |