[totem-pl-parser] Fix dead assignment in OPML parsing



commit 4744d6b524fee2efafdb51f8742f9f79ecf40576
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Sep 17 15:27:30 2009 +0100

    Fix dead assignment in OPML parsing
    
    https://bugzilla.gnome.org/show_bug.cgi?id=595471

 plparse/totem-pl-parser-podcast.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plparse/totem-pl-parser-podcast.c b/plparse/totem-pl-parser-podcast.c
index baf6c2b..0e6ee7b 100644
--- a/plparse/totem-pl-parser-podcast.c
+++ b/plparse/totem-pl-parser-podcast.c
@@ -825,10 +825,10 @@ static TotemPlParserResult
 parse_opml_outline (TotemPlParser *parser, xml_node_t *parent)
 {
 	xml_node_t* node;
-	const char *title, *uri;
 
-	title = uri = NULL;
 	for (node = parent->child; node != NULL; node = node->next) {
+		const char *title, *uri;
+
 		if (node->name == NULL || g_ascii_strcasecmp (node->name, "outline") != 0)
 			continue;
 



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