diff options
author | 2019-03-02 13:59:07 -0600 | |
---|---|---|
committer | 2019-05-07 21:58:33 +0200 | |
commit | 04d37e5a8b1fad2d625727af3d738c6fd9491720 (patch) | |
tree | 35e2122fcfe483f9d79051280706de6cbef314fb /tools/perf/scripts/python/export-to-sqlite.py | |
parent | ubifs: Drop unnecessary setting of zbr->znode (diff) | |
download | wireguard-linux-04d37e5a8b1fad2d625727af3d738c6fd9491720.tar.xz wireguard-linux-04d37e5a8b1fad2d625727af3d738c6fd9491720.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions