diff options
author | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2013-07-15 20:42:57 +0000 |
---|---|---|
committer | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2013-07-15 20:42:57 +0000 |
commit | f5f20fa8e366be6a24944f48f2cbcdbccee0b6e3 (patch) | |
tree | d09baa9d6c61e9e181f88b333d74686a20977c5b /epan/dissectors/packet-ess.c | |
parent | 49051b18d17d14ed8aa3dc3f9febb657d169a5d0 (diff) |
Fix warning: ISO C does not allow extra ';' outside of a function.
svn path=/trunk/; revision=50638
Diffstat (limited to 'epan/dissectors/packet-ess.c')
-rw-r--r-- | epan/dissectors/packet-ess.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/epan/dissectors/packet-ess.c b/epan/dissectors/packet-ess.c index f5e56bf5c0..299a2612c4 100644 --- a/epan/dissectors/packet-ess.c +++ b/epan/dissectors/packet-ess.c @@ -210,9 +210,9 @@ static gint ett_ess_IssuerSerial = -1; static const char *object_identifier_id; -UAT_CSTRING_CB_DEF(ess_category_attributes, oid, ess_category_attributes_t); -UAT_DEC_CB_DEF(ess_category_attributes, lacv, ess_category_attributes_t); -UAT_CSTRING_CB_DEF(ess_category_attributes, name, ess_category_attributes_t); +UAT_CSTRING_CB_DEF(ess_category_attributes, oid, ess_category_attributes_t) +UAT_DEC_CB_DEF(ess_category_attributes, lacv, ess_category_attributes_t) +UAT_CSTRING_CB_DEF(ess_category_attributes, name, ess_category_attributes_t) static void * ess_copy_cb(void *dest, const void *orig, size_t len _U_) @@ -240,7 +240,7 @@ static void ess_dissect_attribute (guint32 value, asn1_ctx_t *actx) { guint i; - + for (i = 0; i < num_ess_category_attributes; i++) { ess_category_attributes_t *u = &(ess_category_attributes[i]); @@ -259,10 +259,10 @@ ess_dissect_attribute_flags (tvbuff_t *tvb, asn1_ctx_t *actx) proto_tree *tree; guint8 *value; guint i; - + tree = proto_item_add_subtree (actx->created_item, ett_Category_attributes); value = tvb_get_ephemeral_string (tvb, 0, tvb_length (tvb)); - + for (i = 0; i < num_ess_category_attributes; i++) { ess_category_attributes_t *u = &(ess_category_attributes[i]); @@ -1131,10 +1131,10 @@ void proto_register_ess(void) { /* List of fields */ static hf_register_info hf[] = { - { &hf_ess_SecurityCategory_type_OID, + { &hf_ess_SecurityCategory_type_OID, { "type", "ess.type_OID", FT_STRING, BASE_NONE, NULL, 0, "Type of Security Category", HFILL }}, - { &hf_ess_Category_attribute, + { &hf_ess_Category_attribute, { "Attribute", "ess.attribute", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }}, @@ -1466,7 +1466,7 @@ void proto_register_ess(void) { /*--- End of included file: packet-ess-ettarr.c ---*/ #line 159 "../../asn1/ess/packet-ess-template.c" }; - + static uat_field_t attributes_flds[] = { UAT_FLD_CSTRING(ess_category_attributes,oid, "Tag Set", "Category Tag Set (Object Identifier)"), UAT_FLD_DEC(ess_category_attributes,lacv, "Value", "Label And Cert Value"), @@ -1496,7 +1496,7 @@ void proto_register_ess(void) { /* Register fields and subtrees */ proto_register_field_array(proto_ess, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); - + ess_module = prefs_register_protocol(proto_ess, NULL); prefs_register_uat_preference(ess_module, "attributes_table", |