diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2000-11-04 07:38:19 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2000-11-04 07:38:19 +0000 |
commit | a14dfd1848762ac83bc891fb345b7b340c36c6ed (patch) | |
tree | 203cc7b3f9a58d5cb690feb99da6d79c4c7672a7 | |
parent | b59140ec274825b9c16d9250c7052a7fe75e8233 (diff) |
Microsoft Visual C++, unlike GCC, doesn't like it if you have no
statements whatsoever in a "case" or "default" clause; add a "break"
statement to keep it happy. (Other compilers may also be less forgiving
than GCC.)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2560 f5534014-38df-0310-8fa8-9805f1628bb7
-rw-r--r-- | packet-wtp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packet-wtp.c b/packet-wtp.c index ca57c64a82..4f9e2df88d 100644 --- a/packet-wtp.c +++ b/packet-wtp.c @@ -3,7 +3,7 @@ * * Routines to dissect WTP component of WAP traffic. * - * $Id: packet-wtp.c,v 1.1 2000/11/04 03:30:40 guy Exp $ + * $Id: packet-wtp.c,v 1.2 2000/11/04 07:38:19 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -228,6 +228,7 @@ dissect_wtp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) col_add_fstr(fdata, COL_PROTOCOL, "WTLS+WTP+WSP" ); break; default: + break; } } @@ -257,7 +258,7 @@ dissect_wtp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) break; default: - + break; }; if( fRID ) { |