projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96ce9e1
)
Silence a compiler warning
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 13 Jan 2023 16:08:41 +0000
(11:08 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 13 Jan 2023 17:07:40 +0000
(12:07 -0500)
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
patch
|
blob
|
history
diff --git
a/gdk/x11/gdkselectionoutputstream-x11.c
b/gdk/x11/gdkselectionoutputstream-x11.c
index c489b2b46b8e79125a0e48976ca22bb53d212c45..76815bee65ccae6366370508dcb19a7eff4b5dd5 100644
(file)
--- 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,