From b1584ddb6c3d56e34de4e6aeca605dc520c061ef Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Wed, 11 May 2022 07:48:37 +0200 Subject: [PATCH] plugins/undelete: avoid compilation warnings on macOS --- src/plugins/undelete.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/plugins/undelete.c b/src/plugins/undelete.c index 6fc0677..7f2a6c1 100644 --- a/src/plugins/undelete.c +++ b/src/plugins/undelete.c @@ -196,6 +196,10 @@ static void _undelete_refresh(Undelete * undelete, GList * selection) #if defined(__APPLE__) static int getdents(int fd, char * buf, unsigned int count) { + (void) fd; + (void) buf; + (void) count; + errno = ENOSYS; return -1; }