Initialize extension to NULL in midori_load_extensions
This commit is contained in:
parent
40dc38fd21
commit
b07fe09de8
1 changed files with 1 additions and 1 deletions
|
@ -1120,7 +1120,7 @@ midori_load_extensions (gpointer data)
|
||||||
GModule* module;
|
GModule* module;
|
||||||
typedef MidoriExtension* (*extension_init_func)(void);
|
typedef MidoriExtension* (*extension_init_func)(void);
|
||||||
extension_init_func extension_init;
|
extension_init_func extension_init;
|
||||||
MidoriExtension* extension;
|
MidoriExtension* extension = NULL;
|
||||||
|
|
||||||
/* Ignore files which don't have the correct suffix */
|
/* Ignore files which don't have the correct suffix */
|
||||||
if (!g_str_has_suffix (filename, G_MODULE_SUFFIX))
|
if (!g_str_has_suffix (filename, G_MODULE_SUFFIX))
|
||||||
|
|
Loading…
Reference in a new issue