summaryrefslogtreecommitdiff
path: root/asn1
diff options
context:
space:
mode:
authorChris Maynard <Christopher.Maynard@GTECH.COM>2013-07-15 20:42:57 +0000
committerChris Maynard <Christopher.Maynard@GTECH.COM>2013-07-15 20:42:57 +0000
commitf5f20fa8e366be6a24944f48f2cbcdbccee0b6e3 (patch)
treed09baa9d6c61e9e181f88b333d74686a20977c5b /asn1
parent49051b18d17d14ed8aa3dc3f9febb657d169a5d0 (diff)
downloadwireshark-f5f20fa8e366be6a24944f48f2cbcdbccee0b6e3.tar.gz
Fix warning: ISO C does not allow extra ';' outside of a function.
svn path=/trunk/; revision=50638
Diffstat (limited to 'asn1')
-rw-r--r--asn1/ess/packet-ess-template.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/asn1/ess/packet-ess-template.c b/asn1/ess/packet-ess-template.c
index 424038405a..b173dd4cb9 100644
--- a/asn1/ess/packet-ess-template.c
+++ b/asn1/ess/packet-ess-template.c
@@ -69,9 +69,9 @@ static gint ett_Category_attributes = -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_)
@@ -99,7 +99,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]);
@@ -118,10 +118,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]);
@@ -143,10 +143,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 }},
#include "packet-ess-hfarr.c"
@@ -157,7 +157,7 @@ void proto_register_ess(void) {
&ett_Category_attributes,
#include "packet-ess-ettarr.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"),
@@ -187,7 +187,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",