diff options
author | Nathan Scott <nathans@sgi.com> | 2006-06-27 20:13:52 -0400 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2006-06-27 20:13:52 -0400 |
commit | 6fdf8ccc09fd764a9cce11006aa3fca53ac1c895 (patch) | |
tree | 0826433cc788979489ba1a2cc0df9cdad4cee9c5 /fs/xfs/xfs_mount.c | |
parent | 73024cf11522c0233228453984b2a2b37885e336 (diff) |
[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 10dbf203c62f..22d3a1c75474 100644 --- a/fs/xfs/xfs_mount.c +++ b/fs/xfs/xfs_mount.c | |||
@@ -2026,7 +2026,7 @@ xfs_icsb_balance_counter( | |||
2026 | xfs_sb_field_t field, | 2026 | xfs_sb_field_t field, |
2027 | int flags) | 2027 | int flags) |
2028 | { | 2028 | { |
2029 | uint64_t count, resid = 0; | 2029 | uint64_t count, resid; |
2030 | int weight = num_online_cpus(); | 2030 | int weight = num_online_cpus(); |
2031 | int s; | 2031 | int s; |
2032 | 2032 | ||
@@ -2058,6 +2058,7 @@ xfs_icsb_balance_counter( | |||
2058 | break; | 2058 | break; |
2059 | default: | 2059 | default: |
2060 | BUG(); | 2060 | BUG(); |
2061 | count = resid = 0; /* quiet, gcc */ | ||
2061 | break; | 2062 | break; |
2062 | } | 2063 | } |
2063 | 2064 | ||