summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desktop/hotlist.c3
1 files changed, 2 insertions, 1 deletions
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) {