From b07fe09de832d8b73648809dcf1e0c0f8178b532 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Sat, 11 Sep 2010 23:24:19 +0200 Subject: [PATCH] Initialize extension to NULL in midori_load_extensions --- midori/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/midori/main.c b/midori/main.c index 5f464f18..ab35fc95 100644 --- a/midori/main.c +++ b/midori/main.c @@ -1120,7 +1120,7 @@ midori_load_extensions (gpointer data) GModule* module; typedef MidoriExtension* (*extension_init_func)(void); extension_init_func extension_init; - MidoriExtension* extension; + MidoriExtension* extension = NULL; /* Ignore files which don't have the correct suffix */ if (!g_str_has_suffix (filename, G_MODULE_SUFFIX)) -- 2.39.5