[grilo-plugins] thetvdb: Fix potential uninitialised variable



commit 0488506ef5ec42a228a17a686f3c826968062d68
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Nov 26 23:01:10 2014 +0100

    thetvdb: Fix potential uninitialised variable

 src/thetvdb/grl-thetvdb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/thetvdb/grl-thetvdb.c b/src/thetvdb/grl-thetvdb.c
index 38557ef..c54467c 100644
--- a/src/thetvdb/grl-thetvdb.c
+++ b/src/thetvdb/grl-thetvdb.c
@@ -495,7 +495,7 @@ xml_parse_and_save_episodes (GomRepository *repository,
     GError *error = NULL;
     gint tmp_season_number = -1;
     gint tmp_episode_number = -1;
-    gchar *tmp_title;
+    gchar *tmp_title = NULL;
     gboolean episode_found = FALSE;
     EpisodeResource *eres;
 


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