diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2013-05-19 05:04:47 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2013-05-19 05:04:47 +0200 |
commit | 5225c6117bbcf61ec3be128f0eef81dc00afa08f (patch) | |
tree | 1f51a5b2e245b2ea91f488999365c08e2bf733ca /src/sdtui.c | |
parent | 46083b1e7deaf5a323a86f94bf64924f63b59d9b (diff) | |
download | tdv-5225c6117bbcf61ec3be128f0eef81dc00afa08f.tar.gz tdv-5225c6117bbcf61ec3be128f0eef81dc00afa08f.tar.xz tdv-5225c6117bbcf61ec3be128f0eef81dc00afa08f.zip |
Initialise GError's
Diffstat (limited to 'src/sdtui.c')
-rw-r--r-- | src/sdtui.c | 2 |
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) { |