summaryrefslogtreecommitdiff
path: root/packet-h1.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2000-03-02 08:59:36 +0000
committerGuy Harris <guy@alum.mit.edu>2000-03-02 08:59:36 +0000
commit4784fd00502c932c15af3692b8adb336d5bddfa4 (patch)
tree525cd8cb63db4d7dbca7de6bdf4d4bd725f1e712 /packet-h1.c
parent0f6d2580268be9fce742a4b799e4bf8185d0fae6 (diff)
downloadwireshark-4784fd00502c932c15af3692b8adb336d5bddfa4.tar.gz
GCC doesn't mind
switch (xxx) { ... default: } but Microsoft Visual C++ 6.0 insists that there be a statement following the "default:" label, and other compilers may do the same - put in a "break;" statement. svn path=/trunk/; revision=1681
Diffstat (limited to 'packet-h1.c')
-rw-r--r--packet-h1.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/packet-h1.c b/packet-h1.c
index a2858b4b15..4946be3676 100644
--- a/packet-h1.c
+++ b/packet-h1.c
@@ -2,7 +2,7 @@
* Routines for Sinec H1 packet disassembly
* Gerrit Gehnen <G.Gehnen@atrie.de>
*
- * $Id: packet-h1.c,v 1.2 2000/03/02 07:38:02 guy Exp $
+ * $Id: packet-h1.c,v 1.3 2000/03/02 08:59:36 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -233,6 +233,7 @@ dissect_h1 (const u_char * pd, int offset, frame_data * fd, proto_tree * tree)
break;
default:
/* TODO: Add Default Handler. */
+ break;
}
position += pd[offset + position + 1]; /* Goto next section */
} /* ..while */