}
}
#else
-void log_print_backtrace(const gchar *file, const gchar *function, gint line)
+void log_print_backtrace(const gchar *UNUSED(file), const gchar *UNUSED(function), gint UNUSED(line))
{
}
#endif
g_string_append(string, " ...");
}
- text = string->str;
- g_string_free(string, FALSE);
+ text = g_strdup(string->str);
+ g_string_free(string, TRUE);
return text;
}
return exif_item_get_data_as_text_full(item, METADATA_PLAIN);
}
-gchar *exif_item_get_data_as_text(ExifItem *item, ExifData *exif)
+gchar *exif_item_get_data_as_text(ExifItem *item, ExifData *UNUSED(exif))
{
return exif_item_get_data_as_text_full(item, METADATA_FORMATTED);
}