From 3ad90ec0908e453ba89947fcf7b5f6821b6c1e0c Mon Sep 17 00:00:00 2001 From: WANG Cong Date: Tue, 16 Oct 2007 23:30:17 -0700 Subject: fs/udf/balloc.c: mark a variable as uninitialized_var() Kill a may-be-used-uninitialized warning. Signed-off-by: WANG Cong Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- fs/udf/balloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fs/udf/balloc.c') diff --git a/fs/udf/balloc.c b/fs/udf/balloc.c index 87e87dcd3f9c..ab26176f6b91 100644 --- a/fs/udf/balloc.c +++ b/fs/udf/balloc.c @@ -689,7 +689,7 @@ static int udf_table_new_block(struct super_block *sb, uint32_t spread = 0xFFFFFFFF, nspread = 0xFFFFFFFF; uint32_t newblock = 0, adsize; uint32_t elen, goal_elen = 0; - kernel_lb_addr eloc, goal_eloc; + kernel_lb_addr eloc, uninitialized_var(goal_eloc); struct extent_position epos, goal_epos; int8_t etype; -- cgit v1.2.3