diff options
author | Kalev Lember <klember@redhat.com> | 2016-07-06 10:34:47 +0200 |
---|---|---|
committer | Kalev Lember <klember@redhat.com> | 2016-07-06 16:01:02 +0200 |
commit | c6cea6efa688d972f9f1b88b6837cacff51383dd (patch) | |
tree | 1441110a5e97dadeb397f5d048ed62d4dacce923 /libappstream-glib/as-stemmer.c | |
parent | f3477224a8e531a7f6e59fab4a7d5713cee5ac82 (diff) | |
download | appstream-glib-c6cea6efa688d972f9f1b88b6837cacff51383dd.tar.gz |
trivial: Fix a compiler warning with libstemmer disabled
Diffstat (limited to 'libappstream-glib/as-stemmer.c')
-rw-r--r-- | libappstream-glib/as-stemmer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libappstream-glib/as-stemmer.c b/libappstream-glib/as-stemmer.c index 4af4410..f02dc1c 100644 --- a/libappstream-glib/as-stemmer.c +++ b/libappstream-glib/as-stemmer.c @@ -73,8 +73,8 @@ as_stemmer_process (AsStemmer *stemmer, const gchar *value) static void as_stemmer_finalize (GObject *object) { - AsStemmer *stemmer = AS_STEMMER (object); #ifdef HAVE_LIBSTEMMER + AsStemmer *stemmer = AS_STEMMER (object); sb_stemmer_delete (stemmer->ctx); g_mutex_clear (&stemmer->ctx_mutex); #endif |