Title: [198076] trunk/Source/_javascript_Core
- Revision
- 198076
- Author
- [email protected]
- Date
- 2016-03-12 18:39:43 -0800 (Sat, 12 Mar 2016)
Log Message
Removed variable names from default constructor declarations.
https://bugs.webkit.org/show_bug.cgi?id=155397
Patch by Konstantin Tokarev <[email protected]> on 2016-03-12
Reviewed by Mark Lam.
They carry no information and generate unused variable warning with GCC
4.8 in a lot of source files.
* parser/VariableEnvironment.h:
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (198075 => 198076)
--- trunk/Source/_javascript_Core/ChangeLog 2016-03-13 01:55:45 UTC (rev 198075)
+++ trunk/Source/_javascript_Core/ChangeLog 2016-03-13 02:39:43 UTC (rev 198076)
@@ -1,3 +1,15 @@
+2016-03-12 Konstantin Tokarev <[email protected]>
+
+ Removed variable names from default constructor declarations.
+ https://bugs.webkit.org/show_bug.cgi?id=155397
+
+ Reviewed by Mark Lam.
+
+ They carry no information and generate unused variable warning with GCC
+ 4.8 in a lot of source files.
+
+ * parser/VariableEnvironment.h:
+
2016-03-12 Myles C. Maxfield <[email protected]>
Delete dead SVG Font code
Modified: trunk/Source/_javascript_Core/parser/VariableEnvironment.h (198075 => 198076)
--- trunk/Source/_javascript_Core/parser/VariableEnvironment.h 2016-03-13 01:55:45 UTC (rev 198075)
+++ trunk/Source/_javascript_Core/parser/VariableEnvironment.h 2016-03-13 02:39:43 UTC (rev 198076)
@@ -81,8 +81,8 @@
: m_map(WTFMove(other.m_map))
, m_isEverythingCaptured(other.m_isEverythingCaptured)
{ }
- VariableEnvironment(const VariableEnvironment& other) = default;
- VariableEnvironment& operator=(const VariableEnvironment& other) = default;
+ VariableEnvironment(const VariableEnvironment&) = default;
+ VariableEnvironment& operator=(const VariableEnvironment&) = default;
ALWAYS_INLINE Map::iterator begin() { return m_map.begin(); }
ALWAYS_INLINE Map::iterator end() { return m_map.end(); }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes