diff --git a/builder/builder-post-process.c b/builder/builder-post-process.c index 0c27308d..aef203ef 100644 --- a/builder/builder-post-process.c +++ b/builder/builder-post-process.c @@ -436,7 +436,7 @@ builder_post_process_debuginfo (GFile *app_dir, { /* Make sure the target is gone, because g_file_copy does truncation on hardlinked destinations */ - g_file_delete (dst, NULL, NULL); + (void)g_file_delete (dst, NULL, NULL); if (!g_file_copy (src, dst, G_FILE_COPY_OVERWRITE, diff --git a/builder/builder-source-file.c b/builder/builder-source-file.c index ee568b68..c4e46b5d 100644 --- a/builder/builder-source-file.c +++ b/builder/builder-source-file.c @@ -410,7 +410,7 @@ builder_source_file_extract (BuilderSource *source, /* Make sure the target is gone, because g_file_copy does truncation on hardlinked destinations */ - g_file_delete (dest_file, NULL, NULL); + (void)g_file_delete (dest_file, NULL, NULL); if (!g_file_copy (src, dest_file, G_FILE_COPY_OVERWRITE,