dissectors: 80211_mac_hdr: Fix clang warning
commit7bcebe82e7ff9d64f1d9bbdbe704a62fe6278751
authorTobias Klauser <tklauser@distanz.ch>
Tue, 9 Sep 2014 12:55:39 +0000 (9 14:55 +0200)
committerTobias Klauser <tklauser@distanz.ch>
Tue, 9 Sep 2014 13:14:53 +0000 (9 15:14 +0200)
tree8d21459cb2ea8e7f80b8d21cfcd61a0ec5b4da7d
parentdd8ce9fc18f2ce5007883f0fc6885c41deafc1b7
dissectors: 80211_mac_hdr: Fix clang warning

clang gives the following warning about function meas_type():

proto_80211_mac_hdr.c:1704:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^

Even though this is a false positive (since we check the entire range of
an u8 in the switch/case), fix it by turning the case 13 ... 255 into
default.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
proto_80211_mac_hdr.c