]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - utils/mount/parse_dev.c
mount.nfs: Squelch unused parameter warnings on empty functions
[nfs-utils.git] / utils / mount / parse_dev.c
index c0a8e18ecece9fae0900c9b9a92cd819521a2adf..c8a58b11f8a4e083e80be7311670b02d5c76de44 100644 (file)
@@ -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;