summaryrefslogtreecommitdiff
path: root/sign
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2011-04-21 10:55:00 +0300
committerPanu Matilainen <pmatilai@redhat.com>2011-04-21 10:55:00 +0300
commite393393ff71e5d0a6dc1c4d316558e8396caf287 (patch)
treef0bb37785aa5c4292ba5c7e3e4da9b0c534ec0c6 /sign
parentc798aed743b4df9569475520ad0821d555b35c82 (diff)
downloadlibrpm-tizen-e393393ff71e5d0a6dc1c4d316558e8396caf287.tar.gz
librpm-tizen-e393393ff71e5d0a6dc1c4d316558e8396caf287.tar.bz2
librpm-tizen-e393393ff71e5d0a6dc1c4d316558e8396caf287.zip
headerPut() and headerDel() returns aren't interesting here
Diffstat (limited to 'sign')
-rw-r--r--sign/rpmgensig.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sign/rpmgensig.c b/sign/rpmgensig.c
index 6efe618d2..328521275 100644
--- a/sign/rpmgensig.c
+++ b/sign/rpmgensig.c
@@ -496,7 +496,7 @@ static int rpmSign(const char *rpm, int deleting, const char *passPhrase)
HeaderIterator hi = headerInitIterator(oh);
while (headerNext(hi, &copytd)) {
if (copytd.data)
- xx = headerPut(nh, &copytd, HEADERPUT_DEFAULT);
+ headerPut(nh, &copytd, HEADERPUT_DEFAULT);
rpmtdFreeData(&copytd);
}
hi = headerFreeIterator(hi);
@@ -508,8 +508,8 @@ static int rpmSign(const char *rpm, int deleting, const char *passPhrase)
}
/* Eliminate broken digest values. */
- xx = headerDel(sigh, RPMSIGTAG_BADSHA1_1);
- xx = headerDel(sigh, RPMSIGTAG_BADSHA1_2);
+ headerDel(sigh, RPMSIGTAG_BADSHA1_1);
+ headerDel(sigh, RPMSIGTAG_BADSHA1_2);
/* Toss and recalculate header+payload size and digests. */
{