Title: [253236] trunk/Source/_javascript_Core
Revision
253236
Author
pvol...@apple.com
Date
2019-12-06 19:50:47 -0800 (Fri, 06 Dec 2019)

Log Message

Unreviewed build fix. Initialize local variable.

* API/tests/testapi.cpp:
(TestAPI::promiseUnhandledRejection):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/API/tests/testapi.cpp (253235 => 253236)


--- trunk/Source/_javascript_Core/API/tests/testapi.cpp	2019-12-07 02:49:32 UTC (rev 253235)
+++ trunk/Source/_javascript_Core/API/tests/testapi.cpp	2019-12-07 03:50:47 UTC (rev 253236)
@@ -524,7 +524,7 @@
 
 void TestAPI::promiseUnhandledRejection()
 {
-    JSObjectRef reject;
+    JSObjectRef reject = nullptr;
     JSValueRef exception = nullptr;
     static auto promise = JSObjectMakeDeferredPromise(context, nullptr, &reject, &exception);
     check(!exception, "creating a (reject-only) deferred promise should not throw");

Modified: trunk/Source/_javascript_Core/ChangeLog (253235 => 253236)


--- trunk/Source/_javascript_Core/ChangeLog	2019-12-07 02:49:32 UTC (rev 253235)
+++ trunk/Source/_javascript_Core/ChangeLog	2019-12-07 03:50:47 UTC (rev 253236)
@@ -1,3 +1,10 @@
+2019-12-06  Per Arne Vollan  <pvol...@apple.com>
+
+        Unreviewed build fix. Initialize local variable.
+
+        * API/tests/testapi.cpp:
+        (TestAPI::promiseUnhandledRejection):
+
 2019-12-06  Joonghun Park  <jh718.p...@samsung.com>
 
         Unreviewed. Change the format string portable by using "%" PRIx64
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to