diff options
author | Guy Harris <guy@alum.mit.edu> | 2005-08-16 01:34:44 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2005-08-16 01:34:44 +0000 |
commit | 7de213fc6a140b2cb5249976406b9a5e517a49e2 (patch) | |
tree | c7b204451531949896d34ad541572c4793017665 /epan | |
parent | 21ab160bcd921077b200db85a28428ae16b561d9 (diff) |
gcc4 gets confused by the break statements, and I guess it thinks you
can reach them, and thus thinks you can fall off the end of
"fc_get_ftype()".
svn path=/trunk/; revision=15367
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-fc.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/epan/dissectors/packet-fc.c b/epan/dissectors/packet-fc.c index 546819406c..f3893b8aa8 100644 --- a/epan/dissectors/packet-fc.c +++ b/epan/dissectors/packet-fc.c @@ -569,31 +569,24 @@ fc_get_ftype (guint8 r_ctl, guint8 type) default: return FC_FTYPE_UNDEF; } - break; case FC_RCTL_ELS: if (((r_ctl & 0x0F) == 0x2) || ((r_ctl & 0x0F) == 0x3)) return FC_FTYPE_ELS; else return FC_FTYPE_UNDEF; - break; case FC_RCTL_LINK_DATA: return FC_FTYPE_LINKDATA; - break; case FC_RCTL_VIDEO: return FC_FTYPE_VDO; - break; case FC_RCTL_BLS: if (type == 0) return FC_FTYPE_BLS; else return FC_FTYPE_UNDEF; - break; case FC_RCTL_LINK_CTL: return FC_FTYPE_LINKCTL; - break; default: return FC_FTYPE_UNDEF; - break; } } |