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

svn path=/trunk/; revision=40467
This commit is contained in:
Alexis La Goutte 2012-01-13 16:30:39 +00:00
parent cf8e19f435
commit 0dde64beae
2 changed files with 0 additions and 2 deletions

View File

@ -185,7 +185,6 @@ dissect_disp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
offset=(*disp_dissector)(FALSE, tvb, offset, &asn1_ctx, tree, -1);
if(offset == old_offset){
proto_tree_add_text(tree, tvb, offset, -1,"Internal error, zero-byte DISP PDU");
offset = tvb_length(tvb);
break;
}
}

View File

@ -1612,7 +1612,6 @@ dissect_disp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
offset=(*disp_dissector)(FALSE, tvb, offset, &asn1_ctx, tree, -1);
if(offset == old_offset){
proto_tree_add_text(tree, tvb, offset, -1,"Internal error, zero-byte DISP PDU");
offset = tvb_length(tvb);
break;
}
}