Fix warning: ISO C does not allow extra ';' outside of a function.

svn path=/trunk/; revision=50638
This commit is contained in:
Chris Maynard 2013-07-15 20:42:57 +00:00
parent 49051b18d1
commit f5f20fa8e3
5 changed files with 31 additions and 31 deletions

View File

@ -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_)

View File

@ -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_)

View File

@ -2887,7 +2887,7 @@ proto_register_amf(void)
proto_amf = proto_register_protocol("Action Message Format", "AMF", "amf");
proto_register_field_array(proto_amf, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
};
}
/*
* Editor modelines - http://www.wireshark.org/tools/modelines.html

View File

@ -399,8 +399,7 @@ save_client_state(packet_info *pinfo, enum ClientState state)
if ((state_info != NULL) && (state_info->client == clientNoInit)) {
state_info->client = state;
}
};
}
static void
save_server_state(packet_info *pinfo, enum ServerState state)

View File

@ -6737,7 +6737,8 @@ dissect_ARFSUDataAdjust_block(tvbuff_t *tvb, int offset,
return offset;
}
static const char* decode_ARType_spezial(guint16 ARType, guint16 ARAccess)
static const char *
decode_ARType_spezial(guint16 ARType, guint16 ARAccess)
{
if (ARType == 0x0001)
return ("IO Controller AR");
@ -6756,7 +6757,7 @@ static const char* decode_ARType_spezial(guint16 ARType, guint16 ARAccess)
}
else
return("reserved");
};
}
/* dissect the ARBlockReq */
static int