From 074a2f0747375dba95272daf3f4dbcd5d66626ce Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 4 Apr 2013 10:09:52 +0200 Subject: [PATCH] bin/xbps-rindex/index-add.c: remove completely unused var. --- bin/xbps-rindex/index-add.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/xbps-rindex/index-add.c b/bin/xbps-rindex/index-add.c index c305e6d3..9de44420 100644 --- a/bin/xbps-rindex/index-add.c +++ b/bin/xbps-rindex/index-add.c @@ -50,13 +50,13 @@ index_add(struct xbps_handle *xhp, int argc, char **argv) struct stat st; const char *oldpkgver, *arch, *oldarch; char *pkgver, *pkgname, *sha256, *repodir, *buf; - char *tmpfilen, *tmprepodir, *plist, *plistf; + char *tmprepodir, *plist, *plistf; size_t x; int i, ret = 0; bool files_flush = false, found = false, flush = false; idx = idxfiles = newpkgd = newpkgfilesd = curpkgd = NULL; - tmpfilen = tmprepodir = plist = plistf = NULL; + tmprepodir = plist = plistf = NULL; if ((tmprepodir = strdup(argv[0])) == NULL) return ENOMEM;