Commit e7a31ab8 authored by Sam Thursfield's avatar Sam Thursfield

Merge branch 'sam/warnings' into 'master'

Fix compile warnings

See merge request !35
parents bf9bdedb d568d9e7
Pipeline #41211 passed with stage
in 1 minute and 43 seconds
...@@ -2354,7 +2354,8 @@ process_file_cb (GObject *object, ...@@ -2354,7 +2354,8 @@ process_file_cb (GObject *object,
TrackerMinerFilesPrivate *priv; TrackerMinerFilesPrivate *priv;
TrackerResource *resource; TrackerResource *resource;
ProcessFileData *data; ProcessFileData *data;
const gchar *mime_type, *urn, *parent_urn; const gchar *mime_type, *urn;
gchar *parent_urn;
gchar *delete_properties_sparql = NULL, *mount_point_sparql; gchar *delete_properties_sparql = NULL, *mount_point_sparql;
GFileInfo *file_info; GFileInfo *file_info;
guint64 time_; guint64 time_;
...@@ -2499,7 +2500,7 @@ miner_files_process_file (TrackerMinerFS *fs, ...@@ -2499,7 +2500,7 @@ miner_files_process_file (TrackerMinerFS *fs,
const gchar *attrs; const gchar *attrs;
data = g_slice_new0 (ProcessFileData); data = g_slice_new0 (ProcessFileData);
data->miner = g_object_ref (fs); data->miner = TRACKER_MINER_FILES (g_object_ref (fs));
data->cancellable = g_object_ref (g_task_get_cancellable (task)); data->cancellable = g_object_ref (g_task_get_cancellable (task));
data->file = g_object_ref (file); data->file = g_object_ref (file);
data->task = g_object_ref (task); data->task = g_object_ref (task);
...@@ -2601,7 +2602,7 @@ miner_files_process_file_attributes (TrackerMinerFS *fs, ...@@ -2601,7 +2602,7 @@ miner_files_process_file_attributes (TrackerMinerFS *fs,
const gchar *attrs; const gchar *attrs;
data = g_slice_new0 (ProcessFileData); data = g_slice_new0 (ProcessFileData);
data->miner = g_object_ref (fs); data->miner = TRACKER_MINER_FILES (g_object_ref (fs));
data->cancellable = g_object_ref (g_task_get_cancellable (task)); data->cancellable = g_object_ref (g_task_get_cancellable (task));
data->file = g_object_ref (file); data->file = g_object_ref (file);
data->task = g_object_ref (task); data->task = g_object_ref (task);
......
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