]> granicus.if.org Git - zfs/commit
Resolve upstream unused variables so we can remove the -Wno-unused
authorBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 12 Mar 2009 05:07:25 +0000 (22:07 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 12 Mar 2009 05:07:25 +0000 (22:07 -0700)
commitecd2dbcb441f747567cb155f62606537c491a8be
tree271d2c081285ce5e213940eb4387ec9d50f278a0
parent32d4d74b0434047fb185c0d53c4b7acc9ae7e36b
Resolve upstream unused variables so we can remove the -Wno-unused
compile option.  In most case the variables are only unused when
debugging is disabled (ASSERT) however they do waste stack if that
case if the compiler doesn't optimize it out (it should).  But more
importantly disabling this warning prevent us from noticing legit
unused variables accidentally left in other place of the code.
module/zfs/arc.c
module/zfs/dbuf.c
module/zfs/dmu.c
module/zfs/dmu_objset.c
module/zfs/dsl_dataset.c
module/zfs/spa.c
module/zfs/vdev.c
module/zfs/zap_micro.c
module/zfs/zio.c