mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-11 03:46:17 +01:00
gtestutils: Mark a return value as explicitly ignored
We can’t do anything differently based on whether removing a file fails. Signed-off-by: Philip Withnall <pwithnall@endlessos.org> Coverity CID: #1354857
This commit is contained in:
parent
895da99694
commit
43d984464d
@ -1297,8 +1297,8 @@ rm_rf (const gchar *path)
|
||||
dir = g_dir_open (path, 0, NULL);
|
||||
if (dir == NULL)
|
||||
{
|
||||
/* Assume it’s a file. */
|
||||
g_remove (path);
|
||||
/* Assume it’s a file. Ignore failure. */
|
||||
(void) g_remove (path);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user