summaryrefslogtreecommitdiff
path: root/src/sdtui.c
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2013-05-19 05:04:47 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2013-05-19 05:04:47 +0200
commit5225c6117bbcf61ec3be128f0eef81dc00afa08f (patch)
tree1f51a5b2e245b2ea91f488999365c08e2bf733ca /src/sdtui.c
parent46083b1e7deaf5a323a86f94bf64924f63b59d9b (diff)
downloadtdv-5225c6117bbcf61ec3be128f0eef81dc00afa08f.tar.gz
tdv-5225c6117bbcf61ec3be128f0eef81dc00afa08f.tar.xz
tdv-5225c6117bbcf61ec3be128f0eef81dc00afa08f.zip
Initialise GError's
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)
{