diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2012-11-10 20:31:08 +0000 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2012-11-10 20:31:08 +0000 |
commit | e4a0fe1007ed5fc8a230f02bf14f2954629c3057 (patch) | |
tree | edd371321e1644475089abf8b765b9af32f11c27 /epan/dissectors/packet-fp_hint.c | |
parent | ffd9a73b69bd84c1503b45ac05756e8c18a8b719 (diff) |
Fix a few Clang dead assignment / increment warnings
svn path=/trunk/; revision=45990
Diffstat (limited to 'epan/dissectors/packet-fp_hint.c')
-rw-r--r-- | epan/dissectors/packet-fp_hint.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/epan/dissectors/packet-fp_hint.c b/epan/dissectors/packet-fp_hint.c index e5e5617da8..5e7ee7a347 100644 --- a/epan/dissectors/packet-fp_hint.c +++ b/epan/dissectors/packet-fp_hint.c @@ -280,7 +280,7 @@ static void assign_fph_rach(tvbuff_t *tvb, packet_info *pinfo _U_, guint16 offse offset += 4; rbcnt = tvb_get_guint8(tvb, offset); offset++; if (rbcnt > 0) - offset = assign_rb_info(tvb, pinfo, offset, rbcnt, tree); + /*offset =*/ assign_rb_info(tvb, pinfo, offset, rbcnt, tree); } static void assign_fph_dch(tvbuff_t *tvb, packet_info *pinfo, guint16 offset, fp_info *fpi, proto_tree *tree) @@ -330,7 +330,7 @@ static void assign_fph_dch(tvbuff_t *tvb, packet_info *pinfo, guint16 offset, fp } rbcnt = tvb_get_guint8(tvb, offset); offset++; if (rbcnt > 0) - offset = assign_rb_info(tvb, pinfo, offset, rbcnt, tree); + /*offset =*/ assign_rb_info(tvb, pinfo, offset, rbcnt, tree); } static void assign_fph_fach(tvbuff_t *tvb, packet_info *pinfo, guint16 offset, fp_info *fpi, proto_tree *tree) @@ -352,7 +352,7 @@ static void assign_fph_fach(tvbuff_t *tvb, packet_info *pinfo, guint16 offset, f offset += 4; rbcnt = tvb_get_guint8(tvb, offset); offset++; if (rbcnt > 0) - offset = assign_rb_info(tvb, pinfo, offset, rbcnt, tree); + /*offset =*/ assign_rb_info(tvb, pinfo, offset, rbcnt, tree); } static void assign_fph_hsdsch(tvbuff_t *tvb, packet_info *pinfo, guint16 offset, fp_info *fpi, proto_tree *tree) @@ -373,7 +373,7 @@ static void assign_fph_hsdsch(tvbuff_t *tvb, packet_info *pinfo, guint16 offset, offset++; rbcnt = tvb_get_guint8(tvb, offset); offset++; if (rbcnt > 0) - offset = assign_rb_info(tvb, pinfo, offset, rbcnt, tree); + /*offset =*/ assign_rb_info(tvb, pinfo, offset, rbcnt, tree); } static void assign_fph_edch(tvbuff_t *tvb, packet_info *pinfo, guint16 offset, fp_info *fpi, proto_tree *tree) @@ -421,7 +421,7 @@ static void assign_fph_edch(tvbuff_t *tvb, packet_info *pinfo, guint16 offset, f rbcnt = tvb_get_guint8(tvb, offset); offset++; if (rbcnt > 0) - offset = assign_rb_info(tvb, pinfo, offset, rbcnt, tree); + /*offset =*/ assign_rb_info(tvb, pinfo, offset, rbcnt, tree); } static void attach_info(tvbuff_t *tvb, packet_info *pinfo, guint16 offset, guint8 channel_type, guint8 frame_type, proto_tree *tree) |