diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2011-12-01 17:04:35 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2011-12-01 17:04:35 +0000 |
commit | 70c8d9485849451d666ef108cc6f1d7e287519b8 (patch) | |
tree | eca2a6600253a8ea6ee61a22656fc699beb6786c | |
parent | b20f47262ba01db6a5786314d3457c54bcf471a8 (diff) | |
download | netsurf-70c8d9485849451d666ef108cc6f1d7e287519b8.tar.gz netsurf-70c8d9485849451d666ef108cc6f1d7e287519b8.tar.bz2 |
Squash use of uninitialised variable warning.
svn path=/trunk/netsurf/; revision=13213
-rw-r--r-- | desktop/hotlist.c | 3 |
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) { |