From f81f392b622c37cb9c274e1e2eb89f279d2c962c Mon Sep 17 00:00:00 2001 From: guy Date: Fri, 9 Dec 2011 20:28:12 +0000 Subject: Get rid of unused variable. Fix a comparison. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@40137 f5534014-38df-0310-8fa8-9805f1628bb7 --- epan/dissectors/packet-rohc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/epan/dissectors/packet-rohc.c b/epan/dissectors/packet-rohc.c index cf37a96b8f..8323a6d9ac 100644 --- a/epan/dissectors/packet-rohc.c +++ b/epan/dissectors/packet-rohc.c @@ -606,7 +606,7 @@ dissect_rohc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) int offset = 0, length; guint8 oct, code, size , cid, profile, val_len; gint16 feedback_data_len = 0; - gboolean is_add_cid = FALSE, d = FALSE; + gboolean is_add_cid = FALSE; rohc_info *p_rohc_info = NULL; rohc_info g_rohc_info; @@ -757,7 +757,7 @@ start_over: if((oct&0xfe) == 0xfc){ col_append_str(pinfo->cinfo, COL_INFO, "IR packet"); offset = dissect_rohc_ir_packet(tvb, rohc_tree, pinfo, offset, cid, is_add_cid, p_rohc_info); - if(offset = -1){ + if(offset == -1){ return; } proto_tree_add_text(rohc_tree, tvb, offset, -1, "Data"); -- cgit v1.2.3