[gtk/wip/baedert/for-master: 169/171] label: Remove redundant store
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/for-master: 169/171] label: Remove redundant store
- Date: Fri, 27 Aug 2021 14:38:42 +0000 (UTC)
commit 9cdcf58f9930e6b1c8c201b6e5ce496173dc884c
Author: Timm Bäder <mail baedert org>
Date: Thu Aug 5 16:54:25 2021 +0200
label: Remove redundant store
The comment is unnecessary these days and it confuses scan-build
gtk/gtklabel.c | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/gtk/gtklabel.c b/gtk/gtklabel.c
index d4e414d882..c3f0586fd0 100644
--- a/gtk/gtklabel.c
+++ b/gtk/gtklabel.c
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]