aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/rtp_player.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2012-04-15 17:27:50 +0000
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2012-04-15 17:27:50 +0000
commit9a988f7de5a139fd5b817fe506e7655c81773771 (patch)
treef1082b574d41de12fa0e5ef217e0c394510d83d8 /ui/gtk/rtp_player.c
parent5758c2cd32f56bad4862a3f1648771dc6be4dab3 (diff)
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=42086
Diffstat (limited to 'ui/gtk/rtp_player.c')
-rw-r--r--ui/gtk/rtp_player.c15
1 files changed, 2 insertions, 13 deletions
diff --git a/ui/gtk/rtp_player.c b/ui/gtk/rtp_player.c
index 839e9135c9..4a4a08e246 100644
--- a/ui/gtk/rtp_player.c
+++ b/ui/gtk/rtp_player.c
@@ -605,8 +605,6 @@ decode_rtp_stream(rtp_stream_info_t *rsi, gpointer ptr _U_)
#endif
gint32 silence_frames;
int seq;
- double delay;
- double prev_diff;
#ifdef DEBUG /* ?? */
double mean_delay;
double variation;
@@ -692,12 +690,9 @@ decode_rtp_stream(rtp_stream_info_t *rsi, gpointer ptr _U_)
/* decode the RTP stream */
first = TRUE;
- rtp_time = 0;
rtp_time_prev = 0;
- decoded_bytes = 0;
decoded_bytes_prev = 0;
- silence_frames = 0;
- arrive_time = start_time = 0;
+ start_time = 0;
arrive_time_prev = 0;
pack_period = 0;
#ifdef DEBUG /* ?? */
@@ -705,8 +700,6 @@ decode_rtp_stream(rtp_stream_info_t *rsi, gpointer ptr _U_)
total_time_prev = 0;
#endif
seq = 0;
- delay = 0;
- prev_diff = 0;
#ifdef DEBUG /* ?? */
mean_delay = 0;
variation = 0;
@@ -769,10 +762,6 @@ decode_rtp_stream(rtp_stream_info_t *rsi, gpointer ptr _U_)
diff = arrive_time - rtp_time;
- delay = diff - prev_diff;
- prev_diff = diff;
- if (delay<0) delay = -delay;
-
if (diff<0) diff = -diff;
#ifdef DEBUG
@@ -2429,7 +2418,7 @@ rtp_player_dlg_create(void)
g_signal_connect(rtp_player_dlg_w, "destroy", G_CALLBACK(rtp_player_on_destroy), NULL);
/* button row */
- hbuttonbox = gtk_hbutton_box_new ();
+ /* ?? hbuttonbox = gtk_hbutton_box_new ();*/
/* Filter/status hbox */
stat_hbox = gtk_hbox_new(FALSE, 1);