[gjs/mozjs91: 64/64] Mark Context param as unused for now
- From: Evan Welsh <ewlsh src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs/mozjs91: 64/64] Mark Context param as unused for now
- Date: Sun, 11 Jul 2021 04:13:19 +0000 (UTC)
commit 23cb51fa313fdf14e7d072d94ff229df26bed0e9
Author: Evan Welsh <contact evanwelsh com>
Date: Sat Jul 10 21:09:05 2021 -0700
Mark Context param as unused for now
modules/console.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/modules/console.cpp b/modules/console.cpp
index d496ea94..9caa695c 100644
--- a/modules/console.cpp
+++ b/modules/console.cpp
@@ -47,7 +47,8 @@ namespace mozilla {
union Utf8Unit;
}
-static void gjs_console_warning_reporter(JSContext* cx, JSErrorReport* report) {
+static void gjs_console_warning_reporter(JSContext* cx [[maybe_unused]],
+ JSErrorReport* report) {
JS::PrintError(stderr, report, /* reportWarnings = */ true);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]