Dan Carpenter 5578e48e5c ubi: wl: Silence uninitialized variable warning
This condition needs to be fipped around because "err" is uninitialized
when "force" is set.  The Smatch static analysis tool complains and
UBsan will also complain at runtime.

Fixes: 663586c0a892 ("ubi: Expose the bitrot interface")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Nathan Chancellor <natechancellor@gmail.com>
Tested-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
2019-03-05 21:21:07 +01:00
..
2018-04-04 23:48:05 +02:00
2019-02-24 11:40:45 +01:00
2015-04-13 21:05:17 +02: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
2018-01-18 00:18:50 +01:00