agendafs
A filesystem for your calendar.
git clone git://mccd.space/agendafscommit fe4b46fc78422b5c973e12e2f13f35b425e37c40
parent 91d07b1b4475e8bdbfc16a9155fc65a769354ceb
Author: Marc Coquand <marc@coquand.email>
Date: Tue, 22 Jul 2025 14:16:23 +0200
Remove unneccessary check
Diffstat:
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/agenda_entry.c b/agenda_entry.c
@@ -1186,10 +1186,7 @@ delete_from_fuse_path(memory_region *mreg, const char *filepath)
return -EISDIR;
}
char *filepath_original = get_original_filepath(mreg, node);
- if (!filepath_original) {
- LOG("Entry not found");
- return -EIO;
- }
+
LOG("Deleting file %s, located at %s", filepath, filepath_original);
res = remove(filepath_original);