Gustavo A. R. Silva 04d37e5a8b ubi: wl: Fix uninitialized variable
There is a potential execution path in which variable *err*
is compared against UBI_IO_BITFLIPS without being properly
initialized previously.

Fix this by initializing variable *err* to 0.

Addresses-Coverity-ID: 1477298 "(Uninitialized scalar variable")
Fixes: 663586c0a892 ("ubi: Expose the bitrot interface")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
2019-05-07 21:58:33 +02:00
..
2018-04-04 23:48:05 +02:00
2019-02-24 11:40:45 +01:00
2018-06-12 16:19:22 -07:00
2017-03-24 15:33:32 +01:00
2019-02-24 11:40:45 +01:00
2018-08-15 00:25:20 +02:00
2019-05-07 21:58:33 +02:00
2018-01-18 00:18:50 +01:00