aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2011-12-09 20:28:12 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2011-12-09 20:28:12 +0000
commitf81f392b622c37cb9c274e1e2eb89f279d2c962c (patch)
tree2f1b283998b17c18ff6860508bc54d0f0ecf856e
parentce599c6bb110325fd18f2aef5377974a8b0da717 (diff)
Get rid of unused variable.
Fix a comparison. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@40137 f5534014-38df-0310-8fa8-9805f1628bb7
-rw-r--r--epan/dissectors/packet-rohc.c4
1 files 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");