Commit d568d9e7 authored by Sam Thursfield's avatar Sam Thursfield

miners/fs: Fix compile warning

Fixes the following:

    [9/61] Compiling C object 'src/miners/...miner-fs@exe/tracker-miner-files.c.o'.
    ../src/miners/fs/tracker-miner-files.c: In function ‘process_file_cb’:
    ../src/miners/fs/tracker-miner-files.c:2437:11: warning: passing argument 1 of ‘g_free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
parent 1d49d7b6
Pipeline #41207 passed with stage
in 1 minute and 32 seconds
......@@ -2354,7 +2354,8 @@ process_file_cb (GObject *object,
TrackerMinerFilesPrivate *priv;
TrackerResource *resource;
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;
GFileInfo *file_info;
guint64 time_;
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