[UBI] drivers/mtd/ubi/scan.c: fix uninitialized var warning
authorakpm@linux-foundation.org <akpm@linux-foundation.org>
Wed, 16 Jan 2008 10:48:49 +0000 (02:48 -0800)
committerDavid Woodhouse <dwmw2@infradead.org>
Sun, 3 Feb 2008 07:10:00 +0000 (18:10 +1100)
commit9308758c50610c077ca41e82c4b98b2de96e8387
treeb96451caac414c309be51ee495eadf034bf074b3
parent4354c5a4ef8d484a463ed8d996e9653ad8be5c72
[UBI] drivers/mtd/ubi/scan.c: fix uninitialized var warning

drivers/mtd/ubi/scan.c: In function 'ubi_scan':
drivers/mtd/ubi/scan.c:772: warning: 'ec' may be used uninitialized in this function

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/ubi/scan.c