label: Remove a dead assignment

It may have quieted gcc at some point, but
it upsets clang nowadays. Remove it.
This commit is contained in:
Matthias Clasen 2021-09-17 19:53:00 -04:00
parent e9cf8c6cc7
commit be1a60d5d0

View File

@ -3977,7 +3977,6 @@ gtk_label_ensure_layout (GtkLabel *self)
if (self->layout)
return;
align = PANGO_ALIGN_LEFT; /* Quiet gcc */
rtl = _gtk_widget_get_direction (GTK_WIDGET (self)) == GTK_TEXT_DIR_RTL;
self->layout = gtk_widget_create_pango_layout (GTK_WIDGET (self), self->text);