HomeFreeBSD

Fix uninitialized variables

Description

Fix uninitialized variables

When compiling on an ARM device using gcc 4.7.3 several variables
in the zfs_obj_to_path_impl() function were flagged as uninitialized.
To resolve the warnings explicitly initialize them to zero.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #1716

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Sep 13 2013, 8:10 PM
Parents
rGb83e3e48c9b1: Stop runtime pointer modifications in autotools checks
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG17897ce2c884: Fix uninitialized variables (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Sep 13 2013, 8:31 PM