Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang

svn path=/trunk/; revision=40470
This commit is contained in:
Alexis La Goutte 2012-01-13 16:33:57 +00:00
parent 8b22a262e0
commit 4f47f1081a

View file

@ -346,7 +346,6 @@ dissect_xtp_aseg(tvbuff_t *tvb, proto_tree *tree, guint32 offset) {
offset++; offset++;
/* aformat(1) */ /* aformat(1) */
aseg->aformat = tvb_get_guint8(tvb, offset); aseg->aformat = tvb_get_guint8(tvb, offset);
offset++;
/** display common fields **/ /** display common fields **/
offset = start; offset = start;
@ -542,7 +541,6 @@ dissect_xtp_tspec(tvbuff_t *tvb, proto_tree *tree, guint32 offset) {
offset++; offset++;
/* tformat(1) */ /* tformat(1) */
tspec->tformat = tvb_get_guint8(tvb, offset); tspec->tformat = tvb_get_guint8(tvb, offset);
offset++;
/** display common fields */ /** display common fields */
offset = start; offset = start;