diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2024-01-05 20:24:21 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2024-01-05 20:24:21 -0800 |
commit | 85ad83cfc0b14f8e1da5b2f7a3bc1086a19514f1 (patch) | |
tree | b41f82e673ed4c0f5be4d1335294f64ead3644ff | |
parent | da12979f1fed56b91d5d5ad00724751f595ce656 (diff) | |
download | txr-85ad83cfc0b14f8e1da5b2f7a3bc1086a19514f1.tar.gz txr-85ad83cfc0b14f8e1da5b2f7a3bc1086a19514f1.tar.bz2 txr-85ad83cfc0b14f8e1da5b2f7a3bc1086a19514f1.zip |
sysif: unused parameter warning on solaris.
* sysif.c (link_wrap_common): Cast the follow_link
argument to void in the #else case to suppress warning.
-rw-r--r-- | sysif.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |