Fix several [-Wunused-const-variable] warnings (using '#if 0').

svn path=/trunk/; revision=52866
This commit is contained in:
Bill Meier 2013-10-26 03:16:57 +00:00
parent 70cf133bf5
commit 21bed98150
2 changed files with 4 additions and 0 deletions

View File

@ -472,6 +472,7 @@ static const value_string vals_1f_op[] = {
{ 0, NULL }
};
#if 0
static const value_string vals_21_addr_type[] = {
{ 0x01, "IPv4" },
{ 0x60, "OEM" }, { 0x61, "OEM" }, { 0x62, "OEM" }, { 0x63, "OEM" },
@ -484,6 +485,7 @@ static const value_string vals_21_addr_type[] = {
{ 0x7c, "OEM" }, { 0x7d, "OEM" }, { 0x7e, "OEM" }, { 0x7f, "OEM" },
{ 0, NULL }
};
#endif
static const value_string vals_prop00_rollback[] = {
{ 0x00, "Not supported" },

View File

@ -75,7 +75,9 @@ static const oid_value_type_t ipv4_type = { FT_IPv4, BASE_NONE, BER_CLAS
static const oid_value_type_t counter32_type = { FT_UINT64, BASE_DEC, BER_CLASS_APP, 1, 1, 5, OID_KEY_TYPE_INTEGER, 1};
static const oid_value_type_t unsigned32_type = { FT_UINT64, BASE_DEC, BER_CLASS_APP, 2, 1, 5, OID_KEY_TYPE_INTEGER, 1};
static const oid_value_type_t timeticks_type = { FT_UINT64, BASE_DEC, BER_CLASS_APP, 3, 1, 5, OID_KEY_TYPE_INTEGER, 1};
#if 0
static const oid_value_type_t opaque_type = { FT_BYTES, BASE_NONE, BER_CLASS_APP, 4, 1, 4, OID_KEY_TYPE_BYTES, 0};
#endif
static const oid_value_type_t nsap_type = { FT_BYTES, BASE_NONE, BER_CLASS_APP, 5, 0, -1, OID_KEY_TYPE_NSAP, 0};
static const oid_value_type_t counter64_type = { FT_UINT64, BASE_DEC, BER_CLASS_APP, 6, 1, 8, OID_KEY_TYPE_INTEGER, 1};
static const oid_value_type_t ipv6_type = { FT_IPv6, BASE_NONE, BER_CLASS_UNI, BER_UNI_TAG_OCTETSTRING, 16, 16, OID_KEY_TYPE_BYTES, 16};