GCC with -O1 and Clang complain that 'v' may be used uninitialized in the
function get_long_cache_040(). The warning is wrong since all cases are
handled, so that v can never be used uninitialized here. But the last
check "if (offset == 14)" is redundant here anyway, so let's simply turn
this into an unconditional else-statement instead - which then also makes
the compilers happy.
v = read_dcache040(addr + 0, 0, dcache_bget) << 24;
v |= read_dcache040(addr + 1, 1, dcache_wget) << 8;
v |= read_dcache040(addr + 3, 0, dcache_bget) << 0;
- } else if (offset == 14) {
+ } else /* if (offset == 14) */ {
v = read_dcache040(addr + 0, 1, dcache_wget) << 16;
v |= read_dcache040(addr + 2, 1, dcache_wget) << 0;
}