From 31f01161736690ac7797abbdea56cc125090bc5a Mon Sep 17 00:00:00 2001 From: Eli Friedman Date: Mon, 28 Nov 2011 18:50:37 +0000 Subject: [PATCH] Add back a line I deleted by accident in r145141. Fixes uninitialized variable warnings and runtime failures. llvm-svn: 145256 --- llvm/lib/Support/APFloat.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/lib/Support/APFloat.cpp b/llvm/lib/Support/APFloat.cpp index 0ae6f1c39e34..70e7afd6edd6 100644 --- a/llvm/lib/Support/APFloat.cpp +++ b/llvm/lib/Support/APFloat.cpp @@ -1917,6 +1917,7 @@ APFloat::convert(const fltSemantics &toSemantics, fs = opOK; } else { *losesInfo = false; + fs = opOK; } return fs;