Make sure icon is initiallized as NULL
This commit is contained in:
parent
0c52a484e9
commit
834e69cf64
1 changed files with 3 additions and 2 deletions
|
@ -969,6 +969,7 @@ midori_web_view_get_icon (MidoriWebView* web_view)
|
||||||
|
|
||||||
#if GLIB_CHECK_VERSION (2, 16, 0)
|
#if GLIB_CHECK_VERSION (2, 16, 0)
|
||||||
parent = g_file_new_for_uri (web_view->uri ? web_view->uri : "");
|
parent = g_file_new_for_uri (web_view->uri ? web_view->uri : "");
|
||||||
|
icon = NULL;
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
file = parent;
|
file = parent;
|
||||||
|
|
Loading…
Reference in a new issue