[libdazzle] Revert "tests: remove dead code"
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libdazzle] Revert "tests: remove dead code"
- Date: Sun, 9 Jul 2017 21:11:44 +0000 (UTC)
commit 8955c4aa98d0f5d83db6cf5eaf6bf6853b23efca
Author: Christian Hergert <chergert redhat com>
Date: Sun Jul 9 14:11:09 2017 -0700
Revert "tests: remove dead code"
This reverts commit 57df5181648467a6ed7c2eff9164faa1f9ad0d0a.
Clang doesn't deal well with simple cleanup attributes.
This was necessary.
tests/test-fuzzy-index.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/tests/test-fuzzy-index.c b/tests/test-fuzzy-index.c
index 057aff7..ad7f36a 100644
--- a/tests/test-fuzzy-index.c
+++ b/tests/test-fuzzy-index.c
@@ -132,6 +132,7 @@ test_index_basic_query_cb (GObject *object,
gpointer user_data)
{
DzlFuzzyIndex *index = (DzlFuzzyIndex *)object;
+ g_autoptr(GFile) file = user_data;
g_autoptr(GListModel) matches = NULL;
GError *error = NULL;
guint n_items;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]