Reported by Coverity (CID1390635). We ensure this for uint_to_float
later on so we might as well mirror that.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
static FloatParts int_to_float(int64_t a, float_status *status)
{
- FloatParts r;
+ FloatParts r = {};
if (a == 0) {
r.cls = float_class_zero;
r.sign = false;