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:
Philip Withnall 2020-11-13 14:12:49 +00:00
parent 895da99694
commit 43d984464d

View File

@ -1297,8 +1297,8 @@ rm_rf (const gchar *path)
dir = g_dir_open (path, 0, NULL);
if (dir == NULL)
{
/* Assume its a file. */
g_remove (path);
/* Assume its a file. Ignore failure. */
(void) g_remove (path);
return;
}