Title: [204892] trunk/Tools
Revision
204892
Author
[email protected]
Date
2016-08-24 01:59:04 -0700 (Wed, 24 Aug 2016)

Log Message

[Win] Warning fixes.
https://bugs.webkit.org/show_bug.cgi?id=161079

Reviewed by Brent Fulgham.

* MiniBrowser/win/WebDownloadDelegate.cpp:
* MiniBrowser/win/WinMain.cpp:
* TestWebKitAPI/Tests/WTF/WTFString.cpp:
(TestWebKitAPI::TEST):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (204891 => 204892)


--- trunk/Tools/ChangeLog	2016-08-24 08:07:43 UTC (rev 204891)
+++ trunk/Tools/ChangeLog	2016-08-24 08:59:04 UTC (rev 204892)
@@ -1,3 +1,15 @@
+2016-08-24  Per Arne Vollan  <[email protected]>
+
+        [Win] Warning fixes.
+        https://bugs.webkit.org/show_bug.cgi?id=161079
+
+        Reviewed by Brent Fulgham.
+
+        * MiniBrowser/win/WebDownloadDelegate.cpp:
+        * MiniBrowser/win/WinMain.cpp:
+        * TestWebKitAPI/Tests/WTF/WTFString.cpp:
+        (TestWebKitAPI::TEST):
+
 2016-08-23  Simon Fraser  <[email protected]>
 
         Fix Windows DRT build.

Modified: trunk/Tools/MiniBrowser/win/WebDownloadDelegate.cpp (204891 => 204892)


--- trunk/Tools/MiniBrowser/win/WebDownloadDelegate.cpp	2016-08-24 08:07:43 UTC (rev 204891)
+++ trunk/Tools/MiniBrowser/win/WebDownloadDelegate.cpp	2016-08-24 08:59:04 UTC (rev 204892)
@@ -23,6 +23,8 @@
 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
 
+#pragma warning(disable: 4091)
+
 #include "stdafx.h"
 #include "WebDownloadDelegate.h"
 

Modified: trunk/Tools/MiniBrowser/win/WinMain.cpp (204891 => 204892)


--- trunk/Tools/MiniBrowser/win/WinMain.cpp	2016-08-24 08:07:43 UTC (rev 204891)
+++ trunk/Tools/MiniBrowser/win/WinMain.cpp	2016-08-24 08:59:04 UTC (rev 204892)
@@ -26,6 +26,8 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
+#pragma warning(disable: 4091)
+
 #include "stdafx.h"
 #include "MiniBrowserLibResource.h"
 #include "MiniBrowserWebHost.h"

Modified: trunk/Tools/TestWebKitAPI/Tests/WTF/WTFString.cpp (204891 => 204892)


--- trunk/Tools/TestWebKitAPI/Tests/WTF/WTFString.cpp	2016-08-24 08:07:43 UTC (rev 204891)
+++ trunk/Tools/TestWebKitAPI/Tests/WTF/WTFString.cpp	2016-08-24 08:59:04 UTC (rev 204892)
@@ -162,7 +162,7 @@
 
 TEST(WTF, StringToInt)
 {
-    bool ok;
+    bool ok = false;
 
     EXPECT_EQ(0, String().toInt());
     EXPECT_EQ(0, String().toInt(&ok));
@@ -214,7 +214,7 @@
 
 TEST(WTF, StringToDouble)
 {
-    bool ok;
+    bool ok = false;
 
     EXPECT_EQ(0.0, String().toDouble());
     EXPECT_EQ(0.0, String().toDouble(&ok));
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to