From 1ab5fa94e30d0aa98c8482d9c19f11e759de2531 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Sat, 6 Mar 2010 11:03:11 +0200 Subject: [PATCH] Dont bother translators with internal error debug foo --- build/rpmfc.c | 10 ---------- 1 file changed, 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); }