gdkdisplay: Remove a pointless assignment

https://bugzilla.gnome.org/show_bug.cgi?id=784016
This commit is contained in:
Daniel Boles 2017-08-06 01:11:34 +01:00
parent 642aee75d5
commit b3ab230aac

View File

@ -2053,9 +2053,7 @@ gdk_error_trap_pop_internal (gboolean need_code)
result = 0;
for (l = trap->displays; l != NULL; l = l->next)
{
gint code = 0;
code = class->pop_error_trap (l->data, !need_code);
gint code = class->pop_error_trap (l->data, !need_code);
/* we use the error on the last display listed, why not. */
if (code != 0)