Commit d92e1133 authored by Ernestas Kulik's avatar Ernestas Kulik 🦑

general: Null-initialize some more auto variables

parent 1ef85842
Pipeline #45594 passed with stages
in 8 minutes and 56 seconds
......@@ -42,7 +42,7 @@ typedef struct
static GList *
convert_selection_data_to_str_list (const gchar *data)
{
g_auto (GStrv) lines;
g_auto (GStrv) lines = NULL;
guint number_of_lines;
GList *result;
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment