Revision 6e52e9a6dc34b22fce0859bbe4ee5479c04468d7 authored by ffxbld on 04 August 2015, 02:20:56 UTC, committed by ffxbld on 04 August 2015, 02:20:56 UTC
--HG-- branch : GECKO3820esr_2015080322_RELBRANCH
1 parent 7eccf15
fix-gcc-warnings.patch
diff --git a/a/mfbt/double-conversion/strtod.cc b/inbound/mfbt/double-conversion/strtod.cc
index 9758989..97fa4a5 100644
--- a/a/mfbt/double-conversion/strtod.cc
+++ b/inbound/mfbt/double-conversion/strtod.cc
@@ -501,17 +501,19 @@ float Strtof(Vector<const char> buffer, int exponent) {
// if they would round to the same float. If the guess is not correct we have
// to look at four values (since two different doubles could be the correct
// double).
double double_next = Double(double_guess).NextDouble();
double double_previous = Double(double_guess).PreviousDouble();
float f1 = static_cast<float>(double_previous);
+#if defined(DEBUG)
float f2 = float_guess;
+#endif
float f3 = static_cast<float>(double_next);
float f4;
if (is_correct) {
f4 = f3;
} else {
double double_next2 = Double(double_next).NextDouble();
f4 = static_cast<float>(double_next2);
}
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...