diff options
author | Brian Behlendorf <[email protected]> | 2010-08-26 09:58:04 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2010-08-31 08:38:43 -0700 |
commit | d4ed667343c3dac114642b9f6cb4f7baa3ff7334 (patch) | |
tree | 16b3f627625f83d0214446fb6f867e100f1a34c5 /module/zfs/zfs_byteswap.c | |
parent | 1fde1e37208c2f56c72c70a06676676f04b65998 (diff) |
Fix gcc uninitialized variable warnings
Gcc -Wall warn: 'uninitialized variable'
Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'module/zfs/zfs_byteswap.c')
-rw-r--r-- | module/zfs/zfs_byteswap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/zfs_byteswap.c b/module/zfs/zfs_byteswap.c index acf632bdb..6048eb124 100644 --- a/module/zfs/zfs_byteswap.c +++ b/module/zfs/zfs_byteswap.c @@ -51,7 +51,7 @@ zfs_ace_byteswap(void *buf, size_t size, boolean_t zfs_layout) { caddr_t end; caddr_t ptr; - zfs_ace_t *zacep; + zfs_ace_t *zacep = NULL; ace_t *acep; uint16_t entry_type; size_t entry_size; |