Title: [149622] trunk/Source/_javascript_Core
- Revision
- 149622
- Author
- [email protected]
- Date
- 2013-05-06 11:49:10 -0700 (Mon, 06 May 2013)
Log Message
Build with GCC 4.8 fails because of -Wmaybe-uninitialized
https://bugs.webkit.org/show_bug.cgi?id=115648
Reviewed by Michael Saboff.
Initialize values in Options::setOption since from
there we end up calling OptionRange::init with
uninitialized members.
* runtime/Options.cpp:
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (149621 => 149622)
--- trunk/Source/_javascript_Core/ChangeLog 2013-05-06 18:46:55 UTC (rev 149621)
+++ trunk/Source/_javascript_Core/ChangeLog 2013-05-06 18:49:10 UTC (rev 149622)
@@ -1,3 +1,16 @@
+2013-05-06 Andras Becsi <[email protected]>
+
+ Build with GCC 4.8 fails because of -Wmaybe-uninitialized
+ https://bugs.webkit.org/show_bug.cgi?id=115648
+
+ Reviewed by Michael Saboff.
+
+ Initialize values in Options::setOption since from
+ there we end up calling OptionRange::init with
+ uninitialized members.
+
+ * runtime/Options.cpp:
+
2013-05-06 Gabor Rapcsanyi <[email protected]>
JSC ARM traditional failing on Octane NavierStokes test
Modified: trunk/Source/_javascript_Core/runtime/Options.cpp (149621 => 149622)
--- trunk/Source/_javascript_Core/runtime/Options.cpp 2013-05-06 18:46:55 UTC (rev 149621)
+++ trunk/Source/_javascript_Core/runtime/Options.cpp 2013-05-06 18:49:10 UTC (rev 149622)
@@ -245,6 +245,7 @@
#define FOR_EACH_OPTION(type_, name_, defaultValue_) \
if (!strncmp(arg, #name_, equalStr - arg)) { \
type_ value; \
+ value = 0; \
bool success = parse(valueStr, value); \
if (success) { \
name_() = value; \
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes