From 78f38f9be08270170bf58e066db263bdde54f5da Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Fri, 11 Apr 2008 09:38:44 +0300 Subject: [PATCH] Remove #ifdef NOTYET junk --- lib/rpminstall.c | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/lib/rpminstall.c b/lib/rpminstall.c index 41a94c5..8c4d3d0 100644 --- a/lib/rpminstall.c +++ b/lib/rpminstall.c @@ -296,30 +296,6 @@ restart: fileURL = eiu->argv[i]; eiu->argv[i] = NULL; -#ifdef NOTYET -if (fileURL[0] == '=') { - rpmds this = rpmdsSingle(RPMTAG_REQUIRENAME, fileURL+1, NULL, 0); - - xx = rpmtsSolve(ts, this, NULL); - if (ts->suggests && ts->nsuggests > 0) { - fileURL = _free(fileURL); - fileURL = ts->suggests[0]; - ts->suggests[0] = NULL; - while (ts->nsuggests-- > 0) { - if (ts->suggests[ts->nsuggests] == NULL) - continue; - ts->suggests[ts->nsuggests] = _free(ts->suggests[ts->nsuggests]); - } - ts->suggests = _free(ts->suggests); - rpmlog(RPMLOG_DEBUG, "Adding goal: %s\n", fileURL); - eiu->pkgURL[eiu->pkgx] = fileURL; - fileURL = NULL; - eiu->pkgx++; - } - this = rpmdsFree(this); -} else -#endif - switch (urlIsURL(fileURL)) { case URL_IS_HTTPS: case URL_IS_HTTP: -- 2.7.4