summaryrefslogtreecommitdiffstats
path: root/sys/gnu/fs/xfs/xfs_rtalloc.h
diff options
context:
space:
mode:
authorkan <kan@FreeBSD.org>2007-05-30 03:03:06 +0000
committerkan <kan@FreeBSD.org>2007-05-30 03:03:06 +0000
commitc5946ebbbc9405578f16560b3f958ac574d6bc90 (patch)
treee47528f51b9a15d03bab8c81b629bd6db21bf480 /sys/gnu/fs/xfs/xfs_rtalloc.h
parent7bbae8657509409d1d19409f0b95aa50c7c288e3 (diff)
downloadFreeBSD-src-c5946ebbbc9405578f16560b3f958ac574d6bc90.zip
FreeBSD-src-c5946ebbbc9405578f16560b3f958ac574d6bc90.tar.gz
Bow to incomplete GCC 4. constant propagation optimizations and
initialize some of the local variables GCC claims are being used uninitialized.
Diffstat (limited to 'sys/gnu/fs/xfs/xfs_rtalloc.h')
-rw-r--r--sys/gnu/fs/xfs/xfs_rtalloc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/gnu/fs/xfs/xfs_rtalloc.h b/sys/gnu/fs/xfs/xfs_rtalloc.h
index 0e0b4d2..89297a0 100644
--- a/sys/gnu/fs/xfs/xfs_rtalloc.h
+++ b/sys/gnu/fs/xfs/xfs_rtalloc.h
@@ -162,7 +162,7 @@ xfs_growfs_rt(
#else
# define xfs_rtallocate_extent(t,b,min,max,l,a,f,p,rb) (ENOSYS)
# define xfs_rtfree_extent(t,b,l) (ENOSYS)
-# define xfs_rtpick_extent(m,t,l,rb) (ENOSYS)
+# define xfs_rtpick_extent(m,t,l,rb) ((*rb = 0), ENOSYS)
# define xfs_growfs_rt(mp,in) (ENOSYS)
# define xfs_rtmount_init(m) (((mp)->m_sb.sb_rblocks == 0)? 0 : (ENOSYS))
# define xfs_rtmount_inodes(m) (((mp)->m_sb.sb_rblocks == 0)? 0 : (ENOSYS))
OpenPOWER on IntegriCloud