summaryrefslogtreecommitdiffstats
path: root/module/zfs/zap.c
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2011-09-27 16:32:53 -0700
committerBrian Behlendorf <[email protected]>2011-09-27 16:56:38 -0700
commitc70602f1eada6ae9d2c3442e3d469c7227d019ab (patch)
tree358dce0dc6d9f6fc89f0fc19e94f860baa7880dd /module/zfs/zap.c
parentdee28b070057224dec67b779e80be14493a4ffb7 (diff)
Fix uninitialized varible in zfs_do_userspace()
When compiling under Debian Lenny with gcc version 4.3.2 (Debian 4.3.2-1.1) the following warning occurs. To quiet the warning initialize 'error' to zero. Newer versions of gcc correctly determine that this uninitialized varible is impossible because ZFS_NUM_USERQUOTA_PROPS is known to be greater than zero. cmd/zfs/zfs_main.c:2377: warning: "error" may be used uninitialized in this function Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'module/zfs/zap.c')
0 files changed, 0 insertions, 0 deletions