There is a risk that the variable will be used without being initialized. This was largely found by using a static code analysis program called cppcheck.
Signed-off-by: Rickard Strandqvist <rickard_strandqv...@spectrumdigital.se> --- arch/x86/math-emu/poly_tan.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/math-emu/poly_tan.c b/arch/x86/math-emu/poly_tan.c index 1875763..fc481d4 100644 --- a/arch/x86/math-emu/poly_tan.c +++ b/arch/x86/math-emu/poly_tan.c @@ -93,6 +93,7 @@ void poly_tan(FPU_REG *st0_ptr) exponent = -1 + norm_Xsig(&argSignif); } else { invert = 0; + accum.lsw = 0; argSignif.lsw = 0; XSIG_LL(accum) = XSIG_LL(argSignif) = significand(st0_ptr); -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/