Artem Bityutskiy 68b1a1e786 mtd: mtdswap: fix compilation warning
Fix the following compilation warning:

drivers/mtd/mtdswap.c: In function ‘mtdswap_pick_gc_eblk’:
drivers/mtd/mtdswap.c:859: warning: ‘idx’ may be used uninitialized in this function
drivers/mtd/mtdswap.c:859: note: ‘idx’ was declared here

Initialize idx to -1 because this value means "no tree choosen".

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2011-03-25 17:10:16 +02:00
..
2011-01-20 17:02:14 -08:00
2011-01-13 08:03:09 -08:00
2011-01-20 17:02:14 -08:00
2011-01-18 12:22:54 -08:00
2011-01-20 21:37:29 +10:30
2011-03-25 17:10:16 +02:00
2011-01-12 04:59:44 -05:00
2011-01-14 12:38:16 +01:00
2011-01-12 05:14:15 -05:00
2011-01-20 17:02:14 -08:00