ieee80211: hide unused value_string variable

packet-ieee80211.c:2326:27: error: ‘vht_max_mpdu_in_amsdu’ defined but not used [-Werror=unused-const-variable=]
 static const value_string vht_max_mpdu_in_amsdu[] = {

Change-Id: If4cc416b7fe92dc7915e26d2d89abaa17b081c09
Reviewed-on: https://code.wireshark.org/review/24977
Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
This commit is contained in:
Martin Mathieson 2017-12-24 09:10:29 +00:00
parent c7ce426f84
commit 28b463649f
1 changed files with 4 additions and 0 deletions

View File

@ -2322,6 +2322,8 @@ static const value_string ht_rx_stbc_flag[] = {
{0x00, NULL}
};
#if 0
/* Hidden since not used */
/* IEEE Stc 802.11ac-2013 8.4.2.29 Extended Capabilities element*/
static const value_string vht_max_mpdu_in_amsdu[] = {
{0x00, "No limit"},
@ -2330,6 +2332,8 @@ static const value_string vht_max_mpdu_in_amsdu[] = {
{0x03, "8"},
{0, NULL}
};
#endif
/* IEEE Stc 802.11ac/D3.1 */