aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-rmt-fec.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2005-10-29 21:43:53 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2005-10-29 21:43:53 +0000
commite9d1a27175df11b5ba02e7c674246cb227f1f856 (patch)
tree9e4ba2c983f042243f848f01a5c4f2467f9b67d4 /epan/dissectors/packet-rmt-fec.c
parent42a8cc91c8f8496aeea244ce27ebb194ea75bc49 (diff)
Set "ti" in all code paths, to squelch a compiler warning.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16358 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-rmt-fec.c')
-rw-r--r--epan/dissectors/packet-rmt-fec.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/epan/dissectors/packet-rmt-fec.c b/epan/dissectors/packet-rmt-fec.c
index 573dbd1387..eb3f3776a5 100644
--- a/epan/dissectors/packet-rmt-fec.c
+++ b/epan/dissectors/packet-rmt-fec.c
@@ -181,7 +181,10 @@ void fec_dissector(struct _fec_ptr f, tvbuff_t *tvb, proto_tree *tree, guint *of
ti = proto_tree_add_item(tree, f.hf->header, tvb, *offset, -1, FALSE);
fec_tree = proto_item_add_subtree(ti, f.ett->main);
} else
+ {
+ ti = NULL;
fec_tree = NULL;
+ }
/* FEC Encoding ID and FEC Instance ID processing */
if (f.fec->encoding_id_present)