[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>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user