From 819c265cdb404a4fdcc76ba7b05f0697eb4f4674 Mon Sep 17 00:00:00 2001 From: Aurelien Foret Date: Thu, 26 Jan 2006 22:18:07 +0000 Subject: fixed a compilation warning --- lib/libalpm/add.c | 1 - 1 file changed, 1 deletion(-) (limited to 'lib/libalpm/add.c') 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; -- cgit v1.2.3-54-g00ecf