GNOME Bugzilla – Bug 750102
Deadcode in totem-playlist.c
Last modified: 2015-12-04 10:46:16 UTC
totem-3.14.3/src/totem-playlist.c:964: effectively_constant: Local variable "ref" is assigned only once, to a constant value, making it effectively constant throughout its scope. If this is not the intent, examine the logic to see if there is a missing assignment that would make "ref" not remain constant. # 962| /* And update current to point to the right file again */ # 963| if (ref != NULL) { # 964|-> gtk_tree_path_free (playlist->priv->current); # 965| playlist->priv->current = gtk_tree_row_reference_get_path (ref); # 966| gtk_tree_row_reference_free (ref);
Created attachment 316756 [details] [review] playlist: Remove dead code
Attachment 316756 [details] pushed as 7899b39 - playlist: Remove dead code