From: Christian Dywan Date: Sat, 11 Sep 2010 21:24:19 +0000 (+0200) Subject: Initialize extension to NULL in midori_load_extensions X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b07fe09de832d8b73648809dcf1e0c0f8178b532;p=midori Initialize extension to NULL in midori_load_extensions --- 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))