Put in a "break" statement after the "default:" clause; GCC may allow

you to have a label with no statement after it, but other C compilers
(e.g, MSVC++ 6.0) don't.

svn path=/trunk/; revision=4678
This commit is contained in:
Guy Harris 2002-02-02 11:52:41 +00:00
parent 0e2c3748bd
commit a758e63774
1 changed files with 2 additions and 1 deletions

View File

@ -3,7 +3,7 @@
*
* (c) Copyright Ashok Narayanan <ashokn@cisco.com>
*
* $Id: packet-rsvp.c,v 1.53 2002/01/31 22:42:38 ashokn Exp $
* $Id: packet-rsvp.c,v 1.54 2002/02/02 11:52:41 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -790,6 +790,7 @@ find_rsvp_session_tempfilt(tvbuff_t *tvb, int hdr_offset, int *session_offp, int
t_off = off;
break;
default:
break;
}
}