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"))
|
if (!g_strcmp0 (format, "xbel"))
|
||||||
data = katze_array_to_xbel (array, error);
|
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);
|
data = katze_array_to_netscape_html (array, error);
|
||||||
|
else
|
||||||
if (!data)
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
if (!(fp = fopen (filename, "w")))
|
if (!(fp = fopen (filename, "w")))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue