From 6f1bfbea7f007b09d7dd21c68634ff0f1e475787 Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Tue, 24 Sep 2013 22:23:20 +0200 Subject: [PATCH] fix warnings --- coreapi/linphonecall.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/coreapi/linphonecall.c b/coreapi/linphonecall.c index 5b7af9c8e..f4f596807 100644 --- a/coreapi/linphonecall.c +++ b/coreapi/linphonecall.c @@ -2368,17 +2368,14 @@ void linphone_call_background_tasks(LinphoneCall *call, bool_t one_second_elapse bool_t disconnected=FALSE; if (call->state==LinphoneCallStreamsRunning && one_second_elapsed){ - RtpSession *as=NULL,*vs=NULL; float audio_load=0, video_load=0; if (call->audiostream!=NULL){ - as=call->audiostream->ms.session; if (call->audiostream->ms.ticker) audio_load=ms_ticker_get_average_load(call->audiostream->ms.ticker); } if (call->videostream!=NULL){ if (call->videostream->ms.ticker) video_load=ms_ticker_get_average_load(call->videostream->ms.ticker); - vs=call->videostream->ms.session; } report_bandwidth(call,(MediaStream*)call->audiostream,(MediaStream*)call->videostream); ms_message("Thread processing load: audio=%f\tvideo=%f",audio_load,video_load);