projects
/
tools
/
librpm-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd15074
)
Eliminate unused variable
author
Panu Matilainen
<pmatilai@redhat.com>
Mon, 7 Sep 2009 10:17:47 +0000
(13:17 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Mon, 7 Sep 2009 10:17:47 +0000
(13:17 +0300)
lib/rpmds.c
patch
|
blob
|
history
diff --git
a/lib/rpmds.c
b/lib/rpmds.c
index
f89ce10
..
31e61ae
100644
(file)
--- 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?";