aboutsummaryrefslogtreecommitdiff
path: root/src/sdtui.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sdtui.c')
-rw-r--r--src/sdtui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sdtui.c b/src/sdtui.c
index 2bf08e6..c20e9ae 100644
--- a/src/sdtui.c
+++ b/src/sdtui.c
@@ -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)
{