summaryrefslogtreecommitdiff
path: root/plugins/kaitai/parsers/attribute.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/kaitai/parsers/attribute.c')
-rw-r--r--plugins/kaitai/parsers/attribute.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/plugins/kaitai/parsers/attribute.c b/plugins/kaitai/parsers/attribute.c
index d0505d8..6050bb1 100644
--- a/plugins/kaitai/parsers/attribute.c
+++ b/plugins/kaitai/parsers/attribute.c
@@ -1583,10 +1583,6 @@ static bool _g_kaitai_attribute_parse_content(GKaitaiAttribute *attrib, kaitai_s
result = false;
*record = NULL;
- printf("\n");
- printf("------------parsing %s -( payload: %x - ut=%d )-----------\n",
- attrib->raw_id, attrib->payload, attrib->payload & KAP_USER_TYPE);
-
/* Lecture soumise à condition ? */
if (attrib->condition != NULL)
@@ -1596,8 +1592,6 @@ static bool _g_kaitai_attribute_parse_content(GKaitaiAttribute *attrib, kaitai_s
strlen(attrib->condition),
&authorized);
- printf("condition '%s': res=%d auth=%d\n", attrib->condition, result, authorized.status);
-
if (!result || !authorized.status)
goto exit;
@@ -1664,10 +1658,7 @@ static bool _g_kaitai_attribute_parse_content(GKaitaiAttribute *attrib, kaitai_s
/* Etablissement d'une zone de correspondance */
if (attrib->payload == KAP_UNINITIALIZED)
- {
- printf("attrib: '%s'\n", attrib->raw_id);
- //assert(false);
- }
+ assert(false);
else if (attrib->payload & KAP_SIZED_EOS)
{
@@ -1763,9 +1754,6 @@ static bool _g_kaitai_attribute_parse_content(GKaitaiAttribute *attrib, kaitai_s
{
user_type = find_sub_type(locals, attrib->named_type);
- printf(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> find '%s' => %p\n",
- attrib->named_type, user_type);
-
if (user_type != NULL)
{
result = g_kaitai_parser_parse_content(G_KAITAI_PARSER(user_type),
@@ -1867,8 +1855,6 @@ static bool _g_kaitai_attribute_parse_content(GKaitaiAttribute *attrib, kaitai_s
exit:
- printf(" ===[[ %s / %p ]]=== >> %d\n", attrib->raw_id, attrib, result);
-
return result;
}