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
This commit is contained in:
parent
0f6d258026
commit
4784fd0050
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue