gdkdisplay: Remove a pointless assignment

This commit is contained in:
Daniel Boles
2017-08-06 01:11:34 +01:00
parent 43195fd997
commit 9d532da2dd

View File

@ -2343,9 +2343,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)