diff options
author | Ernestas Kulik <ekulik@redhat.com> | 2018-12-12 14:02:51 +0100 |
---|---|---|
committer | Ernestas Kulik <ekulik@redhat.com> | 2018-12-12 14:02:51 +0100 |
commit | d92e1133da0f48d7c9edb5c66ee58b0163be95f1 (patch) | |
tree | e8dc6eaede8847742c4143b1e080d84b8de8604f /test/automated | |
parent | 1ef858421972a1355f78c2376b684dd8290e14a8 (diff) | |
download | nautilus-d92e1133da0f48d7c9edb5c66ee58b0163be95f1.tar.gz |
general: Null-initialize some more auto variables
Diffstat (limited to 'test/automated')
-rw-r--r-- | test/automated/displayless/test-nautilus-search-engine-tracker.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/automated/displayless/test-nautilus-search-engine-tracker.c b/test/automated/displayless/test-nautilus-search-engine-tracker.c index 13caafaba..c1f495327 100644 --- a/test/automated/displayless/test-nautilus-search-engine-tracker.c +++ b/test/automated/displayless/test-nautilus-search-engine-tracker.c @@ -17,7 +17,7 @@ finished_cb (NautilusSearchEngine *engine, gpointer user_data) { TrackerSparqlConnection *connection; - g_autofree gchar *sparql_query; + g_autofree gchar *sparql_query = NULL; nautilus_search_provider_stop (NAUTILUS_SEARCH_PROVIDER (engine)); @@ -44,7 +44,7 @@ main (int argc, g_autoptr (NautilusQuery) query = NULL; g_autoptr (GFile) location = NULL; TrackerSparqlConnection *connection; - g_autofree gchar *sparql_query; + g_autofree gchar *sparql_query = NULL; connection = tracker_sparql_connection_get (NULL, NULL); |