commit: 9be9423c9b7ba45fad205daaf818c8c653721538
parent 972a5337be4b687388dd12a72343f0593d39a2ce
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Fri, 9 Apr 2021 07:15:28 +0200
Fix unused parameter warnings
Diffstat:
2 files changed, 15 insertions(+), 13 deletions(-)
diff --git a/badwolf.c b/badwolf.c
@@ -956,6 +956,7 @@ notebookCb_switch__page(GtkNotebook *notebook, GtkWidget *page, guint page_num,
void
content_managerCb_ready(GObject *store, GAsyncResult *result, gpointer user_data)
{
+ (void)store;
struct Window *window = (struct Window *)user_data;
GError *err = NULL;
@@ -986,6 +987,7 @@ content_managerCb_ready(GObject *store, GAsyncResult *result, gpointer user_data
static void
storeCb_finish(WebKitUserContentFilterStore *store, GAsyncResult *result, gpointer user_data)
{
+ (void)store;
struct Window *window = (struct Window *)user_data;
GError *err = NULL;
diff --git a/po/messages.pot b/po/messages.pot
@@ -6,9 +6,9 @@
#, fuzzy
msgid ""
msgstr ""
-"Project-Id-Version: Badwolf 1.0.3+gdf1e25f.content-blockers\n"
+"Project-Id-Version: Badwolf 1.0.3+g972a533.content-blockers\n"
"Report-Msgid-Bugs-To: contact+badwolf-msgid@hacktivis.me\n"
-"POT-Creation-Date: 2021-04-09 06:17+0200\n"
+"POT-Creation-Date: 2021-04-09 07:15+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -74,7 +74,7 @@ msgstr ""
msgid "Bookmarks: unable to parse file \"%s\"\n"
msgstr ""
-#: badwolf.c:1030
+#: badwolf.c:1034
#, c-format
msgid "Buildtime WebKit version: %d.%d.%d\n"
msgstr ""
@@ -137,7 +137,7 @@ msgstr ""
msgid "New tab"
msgstr ""
-#: badwolf.c:1099
+#: badwolf.c:1103
msgid "Open new tab"
msgstr ""
@@ -145,12 +145,12 @@ msgstr ""
msgid "Out of Memory"
msgstr ""
-#: badwolf.c:1028
+#: badwolf.c:1032
#, c-format
msgid "Running Badwolf version: %s\n"
msgstr ""
-#: badwolf.c:1035
+#: badwolf.c:1039
#, c-format
msgid "Runtime WebKit version: %d.%d.%d\n"
msgstr ""
@@ -184,27 +184,27 @@ msgstr ""
msgid "_JS"
msgstr ""
-#: badwolf.c:981
+#: badwolf.c:982
#, c-format
msgid "badwolf: content-filter loaded, adding to content-manager…\n"
msgstr ""
-#: badwolf.c:999 badwolf.c:1004
+#: badwolf.c:1002 badwolf.c:1009
#, c-format
msgid "badwolf: failed to compile content-filters.json, err: [%d] %s\n"
msgstr ""
-#: badwolf.c:969 badwolf.c:974
+#: badwolf.c:970 badwolf.c:975
#, c-format
msgid "badwolf: failed to load content-filter, err: [%d] %s\n"
msgstr ""
-#: badwolf.c:1059
+#: badwolf.c:1063
#, c-format
msgid "content-filters directory set to: %s\n"
msgstr ""
-#: badwolf.c:1056
+#: badwolf.c:1060
#, c-format
msgid "content-filters file set to: %s\n"
msgstr ""
@@ -225,12 +225,12 @@ msgstr ""
msgid "the web process terminated for an unknown reason.\n"
msgstr ""
-#: badwolf.c:1042
+#: badwolf.c:1046
#, c-format
msgid "webkit-web-extension directory set to: %s\n"
msgstr ""
#. TRANSLATOR Ignore this entry. Done for forcing Unicode in xgettext.
-#: badwolf.c:1135
+#: badwolf.c:1139
msgid "ø"
msgstr ""