From 30f8f1020e5c563feae0c8b48d31645b94ce75b9 Mon Sep 17 00:00:00 2001 From: Vladimir Morozov Date: Fri, 19 Jan 2024 13:17:59 -0800 Subject: [PATCH] Remove unused parameters --- jsi/jsi/test/testlib.cpp | 2 +- src/NodeApiJsiRuntime.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jsi/jsi/test/testlib.cpp b/jsi/jsi/test/testlib.cpp index f4f142a..42b18b4 100644 --- a/jsi/jsi/test/testlib.cpp +++ b/jsi/jsi/test/testlib.cpp @@ -1448,7 +1448,7 @@ TEST_P(JSITest, ArrayBufferSizeTest) { try { // Ensure we can safely write some data to the buffer. memset(ab.data(rt), 0xab, 10); - } catch (const JSINativeException& ex) { + } catch (const JSINativeException&) { // data() is unimplemented by some runtimes, ignore such failures. } diff --git a/src/NodeApiJsiRuntime.cpp b/src/NodeApiJsiRuntime.cpp index ba8007c..f6ded64 100644 --- a/src/NodeApiJsiRuntime.cpp +++ b/src/NodeApiJsiRuntime.cpp @@ -1573,7 +1573,7 @@ bool NodeApiJsiRuntime::instanceOf(const jsi::Object &obj, const jsi::Function & } #if JSI_VERSION >= 11 -void NodeApiJsiRuntime::setExternalMemoryPressure(const jsi::Object &obj, size_t amount) { +void NodeApiJsiRuntime::setExternalMemoryPressure(const jsi::Object &/*obj*/, size_t /*amount*/) { // TODO: implement } #endif