[totem] main: Remove useless assignments



commit e3e25002f204ddf2ff37ef8430bee132ed4e625a
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Mar 13 11:33:08 2013 +0100

    main: Remove useless assignments

 src/totem-object.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/totem-object.c b/src/totem-object.c
index 61cab1f..5df6d25 100644
--- a/src/totem-object.c
+++ b/src/totem-object.c
@@ -2325,7 +2325,7 @@ on_playlist_change_name (TotemPlaylist *playlist, TotemObject *totem)
 static void
 on_got_metadata_event (BaconVideoWidget *bvw, TotemObject *totem)
 {
-        char *name = NULL;
+        char *name;
 
        name = totem_get_nice_name_for_stream (totem);
 
@@ -2991,8 +2991,6 @@ void totem_object_action_remote_set_setting (TotemObject *totem,
 {
        GtkAction *action;
 
-       action = NULL;
-
        switch (setting) {
        case TOTEM_REMOTE_SETTING_SHUFFLE:
                action = gtk_action_group_get_action (totem->main_action_group, "shuffle-mode");


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