From 39b20c00810014dc5896eec40d5e60b5d53aee07 Mon Sep 17 00:00:00 2001 From: Bill Meier Date: Tue, 22 Jul 2008 18:36:40 +0000 Subject: [PATCH] Add NULL termination element to value_string arrays. (Done for consistency although not strictly required in these cases); (Also: so no kickouts on this file when doing automated checking for missing NULL termination elements in value-string arrays). svn path=/trunk/; revision=25794 --- epan/dissectors/packet-gsm_a.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/epan/dissectors/packet-gsm_a.c b/epan/dissectors/packet-gsm_a.c index 9cec508cb5..149db32beb 100644 --- a/epan/dissectors/packet-gsm_a.c +++ b/epan/dissectors/packet-gsm_a.c @@ -5303,6 +5303,7 @@ de_rr_l2_pseudo_len(tvbuff_t *tvb, proto_tree *tree, guint32 offset, guint len, static const value_string gsm_a_rr_dtx_vals[] = { { 0, "DTX was not used"}, { 1, "DTX was used"}, + { 0, NULL} }; static const value_string gsm_a_rr_rxlev_vals [] = { {0, "< -110 dBm"}, @@ -5369,10 +5370,12 @@ static const value_string gsm_a_rr_rxlev_vals [] = { {61, "-50 <= x < -49 dBm"}, {62, "-49 <= x < -48 dBm"}, {63, ">= -48 dBm"}, + {0, NULL} }; static const value_string gsm_a_rr_mv_vals[] = { { 0, "The measurement results are valid"}, { 1, "The measurement results are not valid"}, + { 0, NULL} }; static const value_string gsm_a_rr_rxqual_vals [] = { {0, "BER < 0.2%, Mean value 0.14%"}, @@ -5383,6 +5386,7 @@ static const value_string gsm_a_rr_rxqual_vals [] = { {5, "3.2% <= BER < 6.4%, Mean value 4.53%"}, {6, "6.4% <= BER < 12.8%, Mean value 9.05%"}, {7, "BER > 12.8%, Mean value 18.10%"}, + {0, NULL} }; static const value_string gsm_a_rr_ncell_vals [] = { {0, "No neighbour cell measurement result"}, @@ -5393,6 +5397,7 @@ static const value_string gsm_a_rr_ncell_vals [] = { {5, "5 neighbour cell measurement result"}, {6, "6 neighbour cell measurement result"}, {7, "Neighbour cell information not available for serving cell"}, + {0, NULL} }; guint8