builder: Silence unused return value warning

This commit is contained in:
Alexander Larsson
2017-02-28 11:04:02 +01:00
parent 9d9bd184c7
commit e9429d6759
2 changed files with 2 additions and 2 deletions

View File

@@ -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,

View File

@@ -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,