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=d976ec69f0df3f19a3be9351f07086de54af42b9;hpb=ae548c2d55e442c96ad51e90c1e00ce3eb0b718b 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;