X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=utils%2Fmount%2Fparse_dev.c;h=c8a58b11f8a4e083e80be7311670b02d5c76de44;hp=c0a8e18ecece9fae0900c9b9a92cd819521a2adf;hb=3ef3dc8f1e87ba7a6eaa3c2a6965aff6c80ba414;hpb=1d61a1116198714f50b081daecc663625124403d diff --git a/utils/mount/parse_dev.c b/utils/mount/parse_dev.c index c0a8e18..c8a58b1 100644 --- a/utils/mount/parse_dev.c +++ b/utils/mount/parse_dev.c @@ -183,8 +183,9 @@ static int nfs_parse_square_bracket(const char *dev, * with the mount request and failing with a cryptic error message * later. */ -static int nfs_parse_nfs_url(const char *dev, - char **hostname, char **pathname) +static int nfs_parse_nfs_url(__attribute__((unused)) const char *dev, + __attribute__((unused)) char **hostname, + __attribute__((unused)) char **pathname) { nfs_error(_("%s: NFS URLs are not supported"), progname); return 0;