aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2000-11-04 07:38:19 +0000
committerGuy Harris <guy@alum.mit.edu>2000-11-04 07:38:19 +0000
commitbfdf5029f0585a95c62cecdeba5c0c22265d4d8c (patch)
tree203cc7b3f9a58d5cb690feb99da6d79c4c7672a7
parentd23e1df0a765989f53180493bed3c395c53fc066 (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.) svn path=/trunk/; revision=2560
-rw-r--r--packet-wtp.c5
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 ) {