Title: [293772] trunk/Source/WTF
- Revision
- 293772
- Author
- jh718.p...@samsung.com
- Date
- 2022-05-04 07:23:18 -0700 (Wed, 04 May 2022)
Log Message
Unreviewed. Remove the build warning below since r293729.
warning: redundant move in return statement [-Wredundant-move]
* wtf/DateMath.cpp:
(WTF::validateTimeZone):
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (293771 => 293772)
--- trunk/Source/WTF/ChangeLog 2022-05-04 10:43:28 UTC (rev 293771)
+++ trunk/Source/WTF/ChangeLog 2022-05-04 14:23:18 UTC (rev 293772)
@@ -1,3 +1,11 @@
+2022-05-04 Joonghun Park <jh718.p...@samsung.com>
+
+ Unreviewed. Remove the build warning below since r293729.
+ warning: redundant move in return statement [-Wredundant-move]
+
+ * wtf/DateMath.cpp:
+ (WTF::validateTimeZone):
+
2022-05-03 Yusuke Suzuki <ysuz...@apple.com>
[WTF] Initialize emptyString and nullString data at compile time
Modified: trunk/Source/WTF/wtf/DateMath.cpp (293771 => 293772)
--- trunk/Source/WTF/wtf/DateMath.cpp 2022-05-04 10:43:28 UTC (rev 293771)
+++ trunk/Source/WTF/wtf/DateMath.cpp 2022-05-04 14:23:18 UTC (rev 293772)
@@ -1038,7 +1038,7 @@
auto status = callBufferProducingFunction(ucal_getCanonicalTimeZoneID, buffer.data(), buffer.size(), canonicalBuffer, nullptr);
if (!U_SUCCESS(status))
return std::nullopt;
- return WTFMove(canonicalBuffer);
+ return canonicalBuffer;
}
bool isTimeZoneValid(StringView timeZone)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes