Title: [205025] trunk/Source/WebCore
Revision
205025
Author
[email protected]
Date
2016-08-26 10:36:15 -0700 (Fri, 26 Aug 2016)

Log Message

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

Reviewed by Brent Fulgham.

MSVC warns about potential use of uninitialized variables.

* accessibility/AXObjectCache.cpp:
* css/parser/CSSParserValues.cpp:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (205024 => 205025)


--- trunk/Source/WebCore/ChangeLog	2016-08-26 17:13:35 UTC (rev 205024)
+++ trunk/Source/WebCore/ChangeLog	2016-08-26 17:36:15 UTC (rev 205025)
@@ -1,3 +1,15 @@
+2016-08-26  Per Arne Vollan  <[email protected]>
+
+        [Win] Warning fixes.
+        https://bugs.webkit.org/show_bug.cgi?id=161241
+
+        Reviewed by Brent Fulgham.
+
+        MSVC warns about potential use of uninitialized variables.
+
+        * accessibility/AXObjectCache.cpp:
+        * css/parser/CSSParserValues.cpp:
+
 2016-08-26  Eric Carlson  <[email protected]>
 
         [MediaStream] Add support for OverConstrainedErrorEvent

Modified: trunk/Source/WebCore/accessibility/AXObjectCache.cpp (205024 => 205025)


--- trunk/Source/WebCore/accessibility/AXObjectCache.cpp	2016-08-26 17:13:35 UTC (rev 205024)
+++ trunk/Source/WebCore/accessibility/AXObjectCache.cpp	2016-08-26 17:36:15 UTC (rev 205025)
@@ -100,6 +100,11 @@
 #include "MediaControlElements.h"
 #endif
 
+#if COMPILER(MSVC)
+// See https://msdn.microsoft.com/en-us/library/1wea5zwe.aspx
+#pragma warning(disable: 4701)
+#endif
+
 namespace WebCore {
 
 using namespace HTMLNames;

Modified: trunk/Source/WebCore/css/parser/CSSParserValues.cpp (205024 => 205025)


--- trunk/Source/WebCore/css/parser/CSSParserValues.cpp	2016-08-26 17:13:35 UTC (rev 205024)
+++ trunk/Source/WebCore/css/parser/CSSParserValues.cpp	2016-08-26 17:36:15 UTC (rev 205025)
@@ -29,6 +29,11 @@
 #include "CSSVariableValue.h"
 #include "SelectorPseudoTypeMap.h"
 
+#if COMPILER(MSVC)
+// See https://msdn.microsoft.com/en-us/library/1wea5zwe.aspx
+#pragma warning(disable: 4701)
+#endif
+
 namespace WebCore {
 
 using namespace WTF;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to