[Rpm-maint] [PATCH] Cleanup: removing unnecessary repeated code.

Rakesh Pandit rakesh.pandit at gmail.com
Fri Mar 13 07:26:42 UTC 2009


Patch: http://rakesh.fedorapeople.org/rpm/0005--Cleanup-removing-unnecessary-repeated-code.patch

-- 
rakesh

>From 4c5f5b80beb924de58a2481e6529f8272bbe35a1 Mon Sep 17 00:00:00 2001
From: Rakesh Pandit <rakesh at fedoraproject.org>
Date: Fri, 13 Mar 2009 12:50:35 +0530
Subject: [PATCH] - Cleanup: removing unnecessary repeated code.

---
 lib/query.c |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/lib/query.c b/lib/query.c
index f663d5a..83fc055 100644
--- a/lib/query.c
+++ b/lib/query.c
@@ -318,17 +318,8 @@ int rpmQueryVerify(QVA_t qva, rpmts ts, const char * arg)

     switch (qva->qva_source) {
     case RPMQV_RPM:
-	res = rpmgiShowMatches(qva, ts);
-	break;
-
     case RPMQV_ALL:
-	res = rpmgiShowMatches(qva, ts);
-	break;
-
     case RPMQV_HDLIST:
-	res = rpmgiShowMatches(qva, ts);
-	break;
-
     case RPMQV_FTSWALK:
 	res = rpmgiShowMatches(qva, ts);
 	break;
-- 
1.6.0.6


More information about the Rpm-maint mailing list