From: WANG Cong Date: Wed, 17 Oct 2007 06:30:17 +0000 (-0700) Subject: fs/udf/balloc.c: mark a variable as uninitialized_var() X-Git-Tag: v2.6.24-rc1~599 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ad90ec0908e453ba89947fcf7b5f6821b6c1e0c;p=linux-2.6 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 --- diff --git a/fs/udf/balloc.c b/fs/udf/balloc.c index 87e87dcd3f..ab26176f6b 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;