diff options
author | Nathan Scott <nathans@sgi.com> | 2006-06-28 10:13:52 +1000 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2006-06-28 10:13:52 +1000 |
commit | 6fdf8ccc09fd764a9cce11006aa3fca53ac1c895 (patch) | |
tree | 0826433cc788979489ba1a2cc0df9cdad4cee9c5 /fs/xfs/xfs_mount.c | |
parent | 73024cf11522c0233228453984b2a2b37885e336 (diff) | |
download | op-kernel-dev-6fdf8ccc09fd764a9cce11006aa3fca53ac1c895.zip op-kernel-dev-6fdf8ccc09fd764a9cce11006aa3fca53ac1c895.tar.gz |
[XFS] Rework code snippets slightly to remove remaining recent-gcc
warnings.
SGI-PV: 904196
SGI-Modid: xfs-linux-melb:xfs-kern:26364a
Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_mount.c')
-rw-r--r-- | fs/xfs/xfs_mount.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/xfs/xfs_mount.c b/fs/xfs/xfs_mount.c index 10dbf20..22d3a1c 100644 --- a/fs/xfs/xfs_mount.c +++ b/fs/xfs/xfs_mount.c @@ -2026,7 +2026,7 @@ xfs_icsb_balance_counter( xfs_sb_field_t field, int flags) { - uint64_t count, resid = 0; + uint64_t count, resid; int weight = num_online_cpus(); int s; @@ -2058,6 +2058,7 @@ xfs_icsb_balance_counter( break; default: BUG(); + count = resid = 0; /* quiet, gcc */ break; } |