Title: [145595] trunk/Tools
Revision
145595
Author
[email protected]
Date
2013-03-12 15:17:28 -0700 (Tue, 12 Mar 2013)

Log Message

Appease MSVC

Modified Paths


Diff

Modified: trunk/Tools/ChangeLog (145594 => 145595)


--- trunk/Tools/ChangeLog	2013-03-12 22:15:54 UTC (rev 145594)
+++ trunk/Tools/ChangeLog	2013-03-12 22:17:28 UTC (rev 145595)
@@ -1,5 +1,12 @@
 2013-03-12  Oliver Hunt  <[email protected]>
 
+        Appease MSVC
+
+        * TestWebKitAPI/Tests/WTF/CheckedArithmeticOperations.cpp:
+        (TestWebKitAPI):
+
+2013-03-12  Oliver Hunt  <[email protected]>
+
         Add more Checked<> tests
         https://bugs.webkit.org/show_bug.cgi?id=112190
 

Modified: trunk/Tools/TestWebKitAPI/Tests/WTF/CheckedArithmeticOperations.cpp (145594 => 145595)


--- trunk/Tools/TestWebKitAPI/Tests/WTF/CheckedArithmeticOperations.cpp	2013-03-12 22:15:54 UTC (rev 145594)
+++ trunk/Tools/TestWebKitAPI/Tests/WTF/CheckedArithmeticOperations.cpp	2013-03-12 22:17:28 UTC (rev 145595)
@@ -70,7 +70,7 @@
         EXPECT_EQ(true, (value += coerceLiteral(1)).hasOverflowed()); \
         EXPECT_EQ(true, value.hasOverflowed()); \
         value = 10; \
-        type _value; \
+        type _value = 0; \
         EXPECT_EQ(true, CheckedState::DidNotOverflow == (value * Checked<type, RecordOverflow>(0)).safeGet(_value)); \
         EXPECT_EQ(true, 10 == _value); \
         _value = 0; \
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to