Unreviewed, suppress warnings in Linux
authoryusukesuzuki@slowstart.org <yusukesuzuki@slowstart.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 16 Dec 2018 06:12:53 +0000 (06:12 +0000)
committeryusukesuzuki@slowstart.org <yusukesuzuki@slowstart.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 16 Dec 2018 06:12:53 +0000 (06:12 +0000)
Source/bmalloc:

* bmalloc/Gigacage.cpp:

Source/JavaScriptCore:

* jsc.cpp:
(jscmain):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@239257 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/jsc.cpp
Source/bmalloc/ChangeLog
Source/bmalloc/bmalloc/Gigacage.cpp

index d78577e..818ab2e 100644 (file)
@@ -1,5 +1,12 @@
 2018-12-15  Yusuke Suzuki  <yusukesuzuki@slowstart.org>
 
+        Unreviewed, suppress warnings in Linux
+
+        * jsc.cpp:
+        (jscmain):
+
+2018-12-15  Yusuke Suzuki  <yusukesuzuki@slowstart.org>
+
         Null pointer dereference in JSC::WriteBarrierBase()
         https://bugs.webkit.org/show_bug.cgi?id=191252
 
index ccc97c2..ad5d03f 100644 (file)
@@ -2914,6 +2914,7 @@ int jscmain(int argc, char** argv)
     int result = runJSC(
         options, false,
         [&] (VM& vm, GlobalObject* globalObject, bool& success) {
+            UNUSED_PARAM(vm);
 #if PLATFORM(COCOA)
             vm.setOnEachMicrotaskTick(WTFMove(onEachMicrotaskTick));
 #endif
index 95d2a4f..ae0fde2 100644 (file)
@@ -1,3 +1,9 @@
+2018-12-15  Yusuke Suzuki  <yusukesuzuki@slowstart.org>
+
+        Unreviewed, suppress warnings in Linux
+
+        * bmalloc/Gigacage.cpp:
+
 2018-12-14  Keith Miller  <keith_miller@apple.com>
 
         Gigacage runway should immediately follow the primitive cage
index 3ca3434..434c519 100644 (file)
@@ -108,6 +108,7 @@ size_t runwaySize(Kind kind)
     case Kind::JSValue:
         return static_cast<size_t>(0);
     }
+    return static_cast<size_t>(0);
 }
 #endif