diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2010-03-06 11:03:11 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2010-03-06 11:03:11 +0200 |
commit | 1ab5fa94e30d0aa98c8482d9c19f11e759de2531 (patch) | |
tree | ae5248c15dd307ed39ba03b9cffabdd757552e61 /build | |
parent | b1afaf74717dcdc7e8dbb60b31b34519b40fa92a (diff) | |
download | librpm-tizen-1ab5fa94e30d0aa98c8482d9c19f11e759de2531.tar.gz librpm-tizen-1ab5fa94e30d0aa98c8482d9c19f11e759de2531.tar.bz2 librpm-tizen-1ab5fa94e30d0aa98c8482d9c19f11e759de2531.zip |
Dont bother translators with internal error debug foo
Diffstat (limited to 'build')
-rw-r--r-- | build/rpmfc.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/build/rpmfc.c b/build/rpmfc.c index 87c0a2b6e..38b6e3152 100644 --- a/build/rpmfc.c +++ b/build/rpmfc.c @@ -1247,11 +1247,6 @@ rpmRC rpmfcGenerateDepends(const rpmSpec spec, Package pkg) /* Add per-file colors(#files) */ if (rpmtdFromArgi(&td, RPMTAG_FILECOLORS, fc->fcolor)) { rpm_color_t *fcolor; - if (ac != rpmtdCount(&td)) { - rc = RPMRC_FAIL; - rpmlog(RPMLOG_ERR, _("File count from file info doesn't match file in container.\n")); - goto exit; - } assert(rpmtdType(&td) == RPM_INT32_TYPE); /* XXX Make sure only primary (i.e. Elf32/Elf64) colors are added. */ while ((fcolor = rpmtdNextUint32(&td))) { @@ -1262,11 +1257,6 @@ rpmRC rpmfcGenerateDepends(const rpmSpec spec, Package pkg) /* Add classes(#classes) */ if (rpmtdFromArgv(&td, RPMTAG_CLASSDICT, fc->cdict)) { - if (rpmtdType(&td) != RPM_STRING_ARRAY_TYPE) { - rc = RPMRC_FAIL; - rpmlog(RPMLOG_ERR, _("Container not of string array data type.\n")); - goto exit; - } headerPut(pkg->header, &td, HEADERPUT_DEFAULT); } |