From 746d12fc431a8a93c7eeb99756d945ba69ecfa97 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 13 Jan 2023 11:08:41 -0500 Subject: [PATCH] Silence a compiler warning Clang was complaining that we never use the value stored in mime_type. Just don't store it, we are only interested in the side-effect (interning the string). --- gdk/x11/gdkselectionoutputstream-x11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdk/x11/gdkselectionoutputstream-x11.c b/gdk/x11/gdkselectionoutputstream-x11.c index c489b2b46b..76815bee65 100644 --- a/gdk/x11/gdkselectionoutputstream-x11.c +++ b/gdk/x11/gdkselectionoutputstream-x11.c @@ -982,7 +982,7 @@ gdk_x11_selection_output_streams_request (GdkDisplay *display, GOutputStream *stream; if (special_targets[i].mime_type) - mime_type = gdk_intern_mime_type (special_targets[i].mime_type); + gdk_intern_mime_type (special_targets[i].mime_type); stream = gdk_x11_selection_output_stream_new (display, notify, requestor, -- 2.30.2