aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-06-14 23:50:43 +0000
committerGuy Harris <guy@alum.mit.edu>2003-06-14 23:50:43 +0000
commit21ce5791f7e017f53bc61ef6a75fbebc6bdf5756 (patch)
treef10ba7ad7e1050eda41f26bb16a7cd6f7c343ec6
parent8178db498052bef672bae1abfdf6ab001c4eae45 (diff)
Put in a "break;" after the labels in the final clause of a switch
statement - GCC lets you get away with no statement after those labels, but some other compilers (e.g., MSVC++ 6.0) don't. svn path=/trunk/; revision=7886
-rw-r--r--packet-sflow.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/packet-sflow.c b/packet-sflow.c
index 199ebfb1f5..57061393fe 100644
--- a/packet-sflow.c
+++ b/packet-sflow.c
@@ -2,7 +2,7 @@
* Routines for sFlow dissection
* Copyright 2003, Jeff Rizzo <riz@boogers.sf.ca.us>
*
- * $Id: packet-sflow.c,v 1.1 2003/06/13 22:31:11 guy Exp $
+ * $Id: packet-sflow.c,v 1.2 2003/06/14 23:50:43 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -544,6 +544,7 @@ dissect_sflow_flow_sample(tvbuff_t *tvb, packet_info *pinfo,
case SFLOW_PACKET_DATA_TYPE_IPV4:
case SFLOW_PACKET_DATA_TYPE_IPV6:
default:
+ break;
};
/* still need to dissect extended data */
extended_data = tvb_get_ntohl(tvb,offset);