[totem] main: Fix incorrect compile-time warning



commit a41a3a6fa49a2255bb8eaae50d0ee8569bdfa1ac
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Jan 24 17:33:47 2014 +0100

    main: Fix incorrect compile-time warning

 src/totem-object.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/totem-object.c b/src/totem-object.c
index eac0a77..df0249c 100644
--- a/src/totem-object.c
+++ b/src/totem-object.c
@@ -630,7 +630,7 @@ typedef struct {
 static void
 add_to_playlist_and_play_cb (TotemPlaylist *playlist, GAsyncResult *async_result, AddToPlaylistData *data)
 {
-       int end;
+       int end = -1;
        gboolean playlist_changed;
 
        playlist_changed = totem_playlist_add_mrl_finish (playlist, async_result);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]