mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-16 07:04:29 +00:00
gdkdisplay: Remove a pointless assignment
https://bugzilla.gnome.org/show_bug.cgi?id=784016
This commit is contained in:
parent
642aee75d5
commit
b3ab230aac
@ -2053,9 +2053,7 @@ gdk_error_trap_pop_internal (gboolean need_code)
|
|||||||
result = 0;
|
result = 0;
|
||||||
for (l = trap->displays; l != NULL; l = l->next)
|
for (l = trap->displays; l != NULL; l = l->next)
|
||||||
{
|
{
|
||||||
gint code = 0;
|
gint code = class->pop_error_trap (l->data, !need_code);
|
||||||
|
|
||||||
code = class->pop_error_trap (l->data, !need_code);
|
|
||||||
|
|
||||||
/* we use the error on the last display listed, why not. */
|
/* we use the error on the last display listed, why not. */
|
||||||
if (code != 0)
|
if (code != 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user