summaryrefslogtreecommitdiff
path: root/src/filesdb.c
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2009-10-16 02:24:03 +0200
committerGuillem Jover <guillem@debian.org>2009-10-16 02:40:25 +0200
commit15440f3ed12e7087e67b6b6c497e22a126583be2 (patch)
treef103cb04bbe3d51bae2186d3d1f4cff7b27b244f /src/filesdb.c
parentc057025d84371714e0ed21c79604ccf744203670 (diff)
downloaddpkg-15440f3ed12e7087e67b6b6c497e22a126583be2.tar.gz
dpkg: Remove unused variable current in pkg_files_add_file()
Introduced on commit 4985c686c30b2d0682aab0885d32c36007a7998d by me while manually merging the patch that didn't apply cleanly on master. Reported-by: Sean Finney <seanius@debian.org>
Diffstat (limited to 'src/filesdb.c')
-rw-r--r--src/filesdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filesdb.c b/src/filesdb.c
index 2703d4995..d328d5500 100644
--- a/src/filesdb.c
+++ b/src/filesdb.c
@@ -126,7 +126,7 @@ struct fileinlist **
pkg_files_add_file(struct pkginfo *pkg, const char *filename,
enum fnnflags flags, struct fileinlist **file_tail)
{
- struct fileinlist *newent, *current;
+ struct fileinlist *newent;
struct filepackages *packageslump;
int putat = 0;