The variable is assigned values twice successively found by PVS Studio (V519)
Change-Id: I063b0ee2dd4ed948f889c33ab458df20079a64ff Reviewed-on: https://code.wireshark.org/review/12370 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
252486e967
commit
97146be883
|
@ -359,7 +359,7 @@ dissect_cpfi(tvbuff_t *message_tvb, packet_info *pinfo, proto_tree *tree, void *
|
|||
|
||||
/* Set up the frame controls - can we do better than this? */
|
||||
fc_data.sof_eof = 0;
|
||||
fc_data.sof_eof = FC_DATA_SOF_FIRST_FRAME;
|
||||
fc_data.sof_eof |= FC_DATA_SOF_FIRST_FRAME;
|
||||
fc_data.sof_eof |= FC_DATA_EOF_LAST_FRAME;
|
||||
fc_data.sof_eof |= FC_DATA_EOF_INVALID;
|
||||
|
||||
|
|
|
@ -2156,7 +2156,7 @@ dissect_megaco_signaldescriptor(tvbuff_t *tvb, packet_info *pinfo, proto_tree *m
|
|||
|
||||
}
|
||||
|
||||
tvb_help_offset = tvb_LBRKT = tvb_find_guint8(tvb, tvb_previous_offset, tvb_signals_end_offset, '{');
|
||||
tvb_help_offset = tvb_find_guint8(tvb, tvb_previous_offset, tvb_signals_end_offset, '{');
|
||||
|
||||
/* if there are signalparameter */
|
||||
|
||||
|
|
|
@ -209,7 +209,7 @@ static void print_file(const char *file_name, HDC hdc, int width, int height)
|
|||
/* send buffer */
|
||||
buf[cnt] = 0;
|
||||
TextOut(hdc, X_OFFSET,y_pos, buf, (int) strlen(buf));
|
||||
y_pos += tm.tmHeight;
|
||||
/*y_pos += tm.tmHeight;*/
|
||||
cnt = 0;
|
||||
|
||||
/* reset page */
|
||||
|
|
Loading…
Reference in New Issue