bin/xbps-rindex/index-add.c: remove completely unused var.

This commit is contained in:
Juan RP 2013-04-04 10:09:52 +02:00
parent ab445ec307
commit 074a2f0747

View File

@ -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;