From a78b7bd1808d9e3e7a0802d8179ee5012bb3552d Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Tue, 3 Mar 2020 01:02:10 +0100 Subject: [PATCH] Avoid a couple compilation warnings --- src/plugins/trash.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/trash.c b/src/plugins/trash.c index 604f7e9..bb70bbd 100644 --- a/src/plugins/trash.c +++ b/src/plugins/trash.c @@ -319,6 +319,7 @@ static gboolean _trash_confirm(Trash * trash, char const * message) { GtkWidget * dialog; int res; + (void) trash; /* XXX move to BrowserPluginHelper */ dialog = gtk_message_dialog_new(NULL, 0, GTK_MESSAGE_QUESTION, @@ -372,6 +373,7 @@ static int _delete_path(Trash * trash, GtkTreeModel * model, GtkTreePath * path) gchar * p; char * files; size_t len; + (void) trash; if(gtk_tree_model_get_iter(model, &iter, path) != TRUE) /* XXX report error */