From: Matthias Clasen Date: Fri, 13 Jan 2023 16:08:41 +0000 (-0500) Subject: Silence a compiler warning X-Git-Tag: archive/raspbian/4.12.3+ds-1+rpi1~1^2^2^2~22^2~8^2~65^2~4 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=746d12fc431a8a93c7eeb99756d945ba69ecfa97;p=gtk4.git 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). --- 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,