From f48dde14440b4c3dbcf1e9857f8bf0fb11d7303d Mon Sep 17 00:00:00 2001 From: Pascal Quantin Date: Fri, 20 Dec 2013 08:33:18 +0000 Subject: Fix a "'str' may be used uninitialized in this function" error svn path=/trunk/; revision=54285 --- epan/dissectors/packet-gsm_a_dtap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/dissectors/packet-gsm_a_dtap.c') diff --git a/epan/dissectors/packet-gsm_a_dtap.c b/epan/dissectors/packet-gsm_a_dtap.c index 8f4d0492aa..290446f2a9 100644 --- a/epan/dissectors/packet-gsm_a_dtap.c +++ b/epan/dissectors/packet-gsm_a_dtap.c @@ -2527,7 +2527,7 @@ de_cause(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo _U_, guint32 offset else if ((cause >= 64) && (cause <= 79)) { str = "Treat as Service or option not implemented, unspecified"; } else if ((cause >= 80) && (cause <= 95)) { str = "Treat as Semantically incorrect message"; } else if ((cause >= 96) && (cause <= 111)) { str = "Treat as Protocol error, unspecified"; } - else if ((cause >= 112) && (cause <= 127)) { str = "Treat as Interworking, unspecified"; } + else { str = "Treat as Interworking, unspecified"; } break; } -- cgit v1.2.3