diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2016-12-24 15:43:29 +0100 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2016-12-25 08:08:41 +0000 |
commit | 3a55ec3f44baf7cf454ed3cb2cd1a192daa71072 (patch) | |
tree | 880949ecfbe0a7553515410394e9feecdc800230 /ui/qt | |
parent | 78d56e5dd74ca22bbfbbf94ba8a74becc15b23d3 (diff) |
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>
Diffstat (limited to 'ui/qt')
-rw-r--r-- | ui/qt/rtp_analysis_dialog.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ui/qt/rtp_analysis_dialog.cpp b/ui/qt/rtp_analysis_dialog.cpp index 0b9b5fcfdc..73d7e8c3c4 100644 --- a/ui/qt/rtp_analysis_dialog.cpp +++ b/ui/qt/rtp_analysis_dialog.cpp @@ -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; |