git/epan/dissectors/packet-bitcoin.c:270:26: error: ‘hfi_msg_getheaders_version’ defined but not used [-Werror=unused-variable]

Change-Id: Ifcbc8be775e5f435497f5391755356caee48a7d9
Reviewed-on: https://code.wireshark.org/review/7887
Reviewed-by: Jörg Mayer <jmayer@loplof.de>
This commit is contained in:
Joerg Mayer 2015-04-03 01:50:59 +02:00 committed by Jörg Mayer
parent 7787c1b464
commit f505d38d7b
1 changed files with 2 additions and 0 deletions

View File

@ -267,8 +267,10 @@ static header_field_info hfi_msg_getheaders_count32 BITCOIN_HFI_INIT =
static header_field_info hfi_msg_getheaders_count64 BITCOIN_HFI_INIT =
{ "Count", "bitcoin.getheaders.count", FT_UINT64, BASE_DEC, NULL, 0x0, NULL, HFILL };
#if 0
static header_field_info hfi_msg_getheaders_version BITCOIN_HFI_INIT =
{ "Protocol version", "bitcoin.headers.version", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL };
#endif
static header_field_info hfi_bitcoin_msg_getheaders BITCOIN_HFI_INIT =
{ "Getheaders message", "bitcoin.getheaders", FT_NONE, BASE_NONE, NULL, 0x0, NULL, HFILL };