mirror of
https://github.com/flatpak/flatpak.git
synced 2026-03-14 13:15:35 -04:00
builder: Silence unused return value warning
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user