diff options
author | Anders Broman <anders.broman@ericsson.com> | 2012-03-01 14:25:03 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2012-03-01 14:25:03 +0000 |
commit | a388fdb40d3dc21b0609d5402d193a74df9492e8 (patch) | |
tree | a99678a587ba7d60e0786a3b0fa15581c3c06d34 /epan/dissectors/packet-mpls-pm.c | |
parent | 98639900ed33581b43edf6cdad23ab4372795411 (diff) |
packet-mpls-pm.c(616) : error C2220: warning treated as error - no 'object' file generated
packet-mpls-pm.c(616) : warning C4098: 'dissect_mpls_pm_dlm' : 'void' function returning a value
packet-mpls-pm.c(623) : warning C4098: 'dissect_mpls_pm_ilm' : 'void' function returning a value
svn path=/trunk/; revision=41262
Diffstat (limited to 'epan/dissectors/packet-mpls-pm.c')
-rw-r--r-- | epan/dissectors/packet-mpls-pm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-mpls-pm.c b/epan/dissectors/packet-mpls-pm.c index d507b842e7..ba41500501 100644 --- a/epan/dissectors/packet-mpls-pm.c +++ b/epan/dissectors/packet-mpls-pm.c @@ -613,14 +613,14 @@ static void dissect_mpls_pm_dlm(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { /* the message formats for direct and inferred LM are identical */ - return dissect_mpls_pm_loss(tvb, pinfo, tree, DLM); + dissect_mpls_pm_loss(tvb, pinfo, tree, DLM); } static void dissect_mpls_pm_ilm(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { /* the message formats for direct and inferred LM are identical */ - return dissect_mpls_pm_loss(tvb, pinfo, tree, ILM); + dissect_mpls_pm_loss(tvb, pinfo, tree, ILM); } static void |