freebsd-dev/cmd/mount_zfs
Brian Behlendorf 03514b0110 Fix gcc compiler warning, parse_option()
When compiling ZFS in user space gcc-4.6.0 correctly identifies
the variable 'value' as being set but never used.  This generates a
warning and a build failure when using --enable-debug.  Once again
this is correct but I'm reluctant to remove 'value' because we are
breaking the string in to name/value pairs.  While it is not used
now there's a good chance it will be soon and I'd rather not have
to reinvent this.  To suppress the warning with just as a VERIFY().
This was observed under Fedora 15.

  cmd/mount_zfs/mount_zfs.c: In function ‘parse_option’:
  cmd/mount_zfs/mount_zfs.c:112:21: error: variable ‘value’ set but not
  used [-Werror=unused-but-set-variable]
2011-04-19 09:04:51 -07:00
..
.gitignore Added .gitignore for mount.zfs and zvol_id 2011-04-07 10:28:38 -07:00
Makefile.am Fix 'LDFLAGS=-Wl,--as-needed' build error 2011-03-18 14:47:19 -07:00
Makefile.in Linux 2.6.28 compat, insert_inode_locked() 2011-03-22 12:15:54 -07:00
mount_zfs.c Fix gcc compiler warning, parse_option() 2011-04-19 09:04:51 -07:00