changeset 32762:b0ec02a9f558

Remove an unused variable Refs #14936 committer: Richard Laager <rlaager@wiktel.com>
author olivier.crete@collabora.com
date Wed, 04 Apr 2012 19:38:02 +0000
parents 2908b16efa07
children 88587257d083
files COPYRIGHT libpurple/media.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/COPYRIGHT	Mon Apr 02 23:36:20 2012 +0000
+++ b/COPYRIGHT	Wed Apr 04 19:38:02 2012 +0000
@@ -128,6 +128,7 @@
 Adam Cowell
 Palmer Cox
 Jeramey Crawford
+Olivier Crete
 Michael Culbertson
 Steven Danna
 Simon Danner
--- a/libpurple/media.c	Mon Apr 02 23:36:20 2012 +0000
+++ b/libpurple/media.c	Wed Apr 04 19:38:02 2012 +0000
@@ -1067,7 +1067,6 @@
 {
 #ifdef USE_VV
 	PurpleMediaSession *session;
-	PurpleMediaStream *stream = NULL;
 
 	g_return_val_if_fail(PURPLE_IS_MEDIA(media), FALSE);
 
@@ -1103,7 +1102,7 @@
 	}
 
 	if (purple_media_get_stream(media, sess_id, who) == NULL) {
-		stream = purple_media_insert_stream(session, who, initiator);
+		purple_media_insert_stream(session, who, initiator);
 
 		g_signal_emit(media, purple_media_signals[STATE_CHANGED],
 				0, PURPLE_MEDIA_STATE_NEW,