summaryrefslogtreecommitdiff
path: root/lib/rpmds.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2009-09-07 13:17:47 +0300
committerPanu Matilainen <pmatilai@redhat.com>2009-09-07 13:17:47 +0300
commite16325d503cc7ba50f11fdebd77f9bae3bff0c8d (patch)
tree1f0f171ed1df48833631c1eccf1a1f3dc0449acb /lib/rpmds.c
parentbd1507497a2601b9a054da567d7c4c82cf39008c (diff)
downloadlibrpm-tizen-e16325d503cc7ba50f11fdebd77f9bae3bff0c8d.tar.gz
librpm-tizen-e16325d503cc7ba50f11fdebd77f9bae3bff0c8d.tar.bz2
librpm-tizen-e16325d503cc7ba50f11fdebd77f9bae3bff0c8d.zip
Eliminate unused variable
Diffstat (limited to 'lib/rpmds.c')
-rw-r--r--lib/rpmds.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/rpmds.c b/lib/rpmds.c
index f89ce1016..31e61ae53 100644
--- a/lib/rpmds.c
+++ b/lib/rpmds.c
@@ -795,7 +795,6 @@ exit:
void rpmdsProblem(rpmps ps, const char * pkgNEVR, const rpmds ds,
const fnpyKey * suggestedKeys, int adding)
{
- const char * Name = rpmdsN(ds);
const char * DNEVR = rpmdsDNEVR(ds);
const char * EVR = rpmdsEVR(ds);
rpmProblemType type;
@@ -803,7 +802,6 @@ void rpmdsProblem(rpmps ps, const char * pkgNEVR, const rpmds ds,
if (ps == NULL) return;
- if (Name == NULL) Name = "?N?";
if (EVR == NULL) EVR = "?EVR?";
if (DNEVR == NULL) DNEVR = "? ?N? ?OP? ?EVR?";