From 45368fc65aebc892bff3ab4b3e844512af26b566 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 11 Dec 2024 18:08:26 -0500 Subject: Use zix_remove() everywhere and check its return value --- src/state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.1