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

Change-Id: I9913b9653fedeb9cc119f10632f4c96fe54027b4
Reviewed-on: https://code.wireshark.org/review/31408
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
Alexis La Goutte 2019-01-06 14:34:13 +00:00 committed by Michael Mann
parent 1774aafcf1
commit f31513c274
2 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ StatusType
* lawfullInterceptionIdentifier [1] LawfulInterceptionIdentifier,
* communicationIdentifier [2] CommunicationIdentifier,
*/
tmp_offset = get_ber_identifier(tvb, tmp_offset, &tmp_class, &tmp_pc, &tmp_tag);
get_ber_identifier(tvb, tmp_offset, &tmp_class, &tmp_pc, &tmp_tag);
if(tmp_class != BER_CLASS_CON){
return 0;
}

View File

@ -3890,7 +3890,7 @@ dissect_HI2Operations_UUS1_Content(gboolean implicit_tag _U_, tvbuff_t *tvb _U_,
* lawfullInterceptionIdentifier [1] LawfulInterceptionIdentifier,
* communicationIdentifier [2] CommunicationIdentifier,
*/
tmp_offset = get_ber_identifier(tvb, tmp_offset, &tmp_class, &tmp_pc, &tmp_tag);
get_ber_identifier(tvb, tmp_offset, &tmp_class, &tmp_pc, &tmp_tag);
if(tmp_class != BER_CLASS_CON){
return 0;
}