HomeFreeBSD

Fix uninit variable in slab reclaim test

Description

Fix uninit variable in slab reclaim test

Gcc version 4.7.0 reports the delta.tv_sec in the slab reclaim test
as potentially unitialized. In practice this will never occur but
to keep gcc happy we initialize the variable to zero.

Signed-off-by: Brian Behlendorf <behlendo@fedora-17-amd64.(none)>

Details

Provenance
Brian Behlendorf <behlendo@fedora-17-amd64.(none)>Authored on Jun 13 2012, 8:43 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Jun 13 2012, 11:17 PM
Parents
rG2371321e8a3d: Fix invalid context bug
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGeaac9ba51027: Fix uninit variable in slab reclaim test (authored by Brian Behlendorf <behlendo@fedora-17-amd64.(none)>).Jun 13 2012, 11:17 PM