mirror_zfs/cmd
Brian Behlendorf 12c1acde76 Set -Wno-unused-but-set-variable globally
As of gcc-4.6 the option -Wunused-but-set-variable is enabled by
default.  While this is a useful warning there are numerous places
in the ZFS code when a variable is set and then only checked in an
ASSERT().  To avoid having to update every instance of this in the
code we now set -Wno-unused-but-set-variable to suppress the warning.

Additionally, when building with --enable-debug and -Werror set these
warning also become fatal.  We can reevaluate the suppression of these
error at a later time if it becomes an issue.  For now we are basically
just reverting to the previous gcc behavior.
2011-04-19 10:44:10 -07:00
..
mount_zfs Set -Wno-unused-but-set-variable globally 2011-04-19 10:44:10 -07:00
zdb Set -Wno-unused-but-set-variable globally 2011-04-19 10:44:10 -07:00
zfs Set -Wno-unused-but-set-variable globally 2011-04-19 10:44:10 -07:00
zinject Set -Wno-unused-but-set-variable globally 2011-04-19 10:44:10 -07:00
zpios Set -Wno-unused-but-set-variable globally 2011-04-19 10:44:10 -07:00
zpool Set -Wno-unused-but-set-variable globally 2011-04-19 10:44:10 -07:00
zpool_id Linux 2.6.28 compat, insert_inode_locked() 2011-03-22 12:15:54 -07:00
zpool_layout Call udevadm trigger more safely 2011-04-05 13:00:51 -07:00
ztest Set -Wno-unused-but-set-variable globally 2011-04-19 10:44:10 -07:00
zvol_id Set -Wno-unused-but-set-variable globally 2011-04-19 10:44:10 -07:00
Makefile.am Fix mount helper 2011-03-09 15:26:48 -08:00
Makefile.in Linux 2.6.28 compat, insert_inode_locked() 2011-03-22 12:15:54 -07:00