forked from osmocom/wireshark
rtp_analysis_dialog (Qt): Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang
Change-Id: I48dd8af83c97301b6bd314801ca36ac13c790eaa Reviewed-on: https://code.wireshark.org/review/19413 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
78d56e5dd7
commit
3a55ec3f44
|
@ -1084,7 +1084,6 @@ size_t RtpAnalysisDialog::convert_payload_to_samples(unsigned int payload_type,
|
|||
gint16 sample;
|
||||
gchar pd[4];
|
||||
|
||||
sample_count = 0;
|
||||
if (payload_type == PT_PCMU) {
|
||||
/* Output sample count is same as input sample count for G.711 */
|
||||
sample_count = payload_len;
|
||||
|
|
Loading…
Reference in New Issue