Initialise GError's

This commit is contained in:
2013-05-19 05:04:47 +02:00
parent 46083b1e7d
commit 5225c6117b
3 changed files with 6 additions and 6 deletions

View File

@@ -288,7 +288,7 @@ app_reload_view (Application *self)
static void
app_init (Application *self, const gchar *filename)
{
GError *error;
GError *error = NULL;
self->dict = stardict_dict_new (filename, &error);
if (!self->dict)
{