summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sysif.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysif.c b/sysif.c
index 163e6afb..158d4595 100644
--- a/sysif.c
+++ b/sysif.c
@@ -968,6 +968,7 @@ static val link_wrap_common(val target, val to, val follow_link, val self)
if3(follow_link, AT_SYMLINK_FOLLOW, 0));
#else
int err = link(u8target, u8to);
+ (void) follow_link;
#endif
free(u8target);
free(u8to);