summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2011-03-03 18:50:52 +0200
committerPanu Matilainen <pmatilai@redhat.com>2011-03-03 18:50:52 +0200
commit183c8fa64c846c5d8ad8fe1671c8812059f35434 (patch)
treeb6611dea4967837e1547ff945c24ae3fa1250b84
parent68d94190ad97e538a5ce21adadd7d9292729f607 (diff)
downloadlibrpm-tizen-183c8fa64c846c5d8ad8fe1671c8812059f35434.tar.gz
librpm-tizen-183c8fa64c846c5d8ad8fe1671c8812059f35434.tar.bz2
librpm-tizen-183c8fa64c846c5d8ad8fe1671c8812059f35434.zip
Remove leftover error case from the nineties
- rpmtsAddInstallElement() doesn't check for rpmlib() dependencies or anything like that, nor does it return 2 ever (anymore)
-rw-r--r--lib/rpminstall.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/rpminstall.c b/lib/rpminstall.c
index b4ffd1095..4e061331d 100644
--- a/lib/rpminstall.c
+++ b/lib/rpminstall.c
@@ -564,13 +564,6 @@ restart:
eiu->numFailed++;
goto exit;
break;
- case 2:
- rpmlog(RPMLOG_ERR,
- _("file %s requires a newer version of RPM\n"),
- *eiu->fnp);
- eiu->numFailed++;
- goto exit;
- break;
default:
eiu->numFailed++;
goto exit;