summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-12-11 18:08:26 -0500
committerDavid Robillard <d@drobilla.net>2024-12-11 19:08:56 -0500
commit45368fc65aebc892bff3ab4b3e844512af26b566 (patch)
treefd067f0211a03736b64e2254441a8fa8c2358265 /src
parent8a70f7ab46fa4587a2f3db368f175fa1b8718bfe (diff)
downloadlilv-45368fc65aebc892bff3ab4b3e844512af26b566.tar.gz
lilv-45368fc65aebc892bff3ab4b3e844512af26b566.tar.bz2
lilv-45368fc65aebc892bff3ab4b3e844512af26b566.zip
Use zix_remove() everywhere and check its return value
Diffstat (limited to 'src')
-rw-r--r--src/state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state.c b/src/state.c
index b05d455..169ccbe 100644
--- a/src/state.c
+++ b/src/state.c
@@ -1234,7 +1234,7 @@ lilv_state_make_links(const LilvState* state, const char* dir)
if (!strcmp(dir, link_dir)) {
// Link directory is save directory, make link at exact path
- remove(pat);
+ (void)zix_remove(pat);
maybe_symlink(pm->abs, pat);
} else {
// Make a link in the link directory to external file