Commit 41bc2de2 authored by Petri Hintukainen's avatar Petri Hintukainen

Silence warning on unchecked file_unlink() result in error path

parent 2a18764a
......@@ -480,7 +480,7 @@ int disc_cache_bdrom_file(BD_DISC *p, const char *rel_path, const char *cache_pa
BD_DEBUG(DBG_FILE | DBG_CRIT, "error caching file %s\n", rel_path);
file_close(fp_out);
file_close(fp_in);
file_unlink(cache_path);
(void)file_unlink(cache_path);
return -1;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment