Ensure data is initialized in midori_array_to_file_format
This commit is contained in:
parent
77796803c5
commit
49758e4dd8
1 changed files with 2 additions and 3 deletions
|
@ -905,10 +905,9 @@ midori_array_to_file_format (KatzeArray* array,
|
|||
|
||||
if (!g_strcmp0 (format, "xbel"))
|
||||
data = katze_array_to_xbel (array, error);
|
||||
if (!g_strcmp0 (format, "netscape"))
|
||||
else if (!g_strcmp0 (format, "netscape"))
|
||||
data = katze_array_to_netscape_html (array, error);
|
||||
|
||||
if (!data)
|
||||
else
|
||||
return FALSE;
|
||||
if (!(fp = fopen (filename, "w")))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue