builder: Silence unused return value warning

This commit is contained in:
Alexander Larsson committed 2017-02-28 11:05:01 +01:00
1 parent 9d9bd184c7
commit e9429d6759
2 files changed
+2 -2

No files matched your search

+1 -1
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,
+1 -1
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,