From b03eabb7b7d2d596cb1a3dca14476c2d5a3557c4 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Tue, 27 May 2025 17:07:06 -0600 Subject: [PATCH] gui/event-widget: Mark a variable as unused The actual parsed guri is unused here; the code just does the parsing as a way to tell whether the event's location refers to a URI/service or not (e.g. a physical location or address). Part-of: --- src/gui/gcal-event-widget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/gcal-event-widget.c b/src/gui/gcal-event-widget.c index e2e4c42d..d448704d 100644 --- a/src/gui/gcal-event-widget.c +++ b/src/gui/gcal-event-widget.c @@ -364,7 +364,7 @@ gcal_event_widget_set_event_tooltip (GcalEventWidget *self, if (location && location[0] != '\0') { g_autofree gchar *escaped_location = NULL; - g_autoptr (GUri) guri = NULL; + g_autoptr (GUri) G_GNUC_UNUSED guri = NULL; /* we just check for a parse error; don't care about the URI */ g_autoptr (GString) string = NULL; g_autoptr (GError) error = NULL;