From 70c8d9485849451d666ef108cc6f1d7e287519b8 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Thu, 1 Dec 2011 17:04:35 +0000 Subject: Squash use of uninitialised variable warning. svn path=/trunk/netsurf/; revision=13213 --- desktop/hotlist.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/desktop/hotlist.c b/desktop/hotlist.c index 3fb6777b3..347f4264f 100644 --- a/desktop/hotlist.c +++ b/desktop/hotlist.c @@ -413,7 +413,8 @@ void hotlist_add_folder(bool selected) */ void hotlist_add_entry(bool selected) { - struct node *node, *parent; + struct node *node; + struct node *parent = NULL; creating_node = true; if (selected == true) { -- cgit v1.2.3