[gtk/static-analysis-fixes: 10/13] textbtree: Static analysis fixes
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/static-analysis-fixes: 10/13] textbtree: Static analysis fixes
- Date: Mon, 3 May 2021 11:45:02 +0000 (UTC)
commit a49ff5a1c433888b7d514265c2a3eb18ce91fd00
Author: Matthias Clasen <mclasen redhat com>
Date: Mon May 3 07:35:40 2021 -0400
textbtree: Static analysis fixes
gtk/gtktextbtree.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/gtk/gtktextbtree.c b/gtk/gtktextbtree.c
index bd0c817d98..748e65ae18 100644
--- a/gtk/gtktextbtree.c
+++ b/gtk/gtktextbtree.c
@@ -5420,8 +5420,7 @@ _gtk_text_btree_validate_line (GtkTextBTree *tree,
ld = _gtk_text_line_get_data (line, view_id);
if (!ld || !ld->valid)
{
- ld = gtk_text_layout_wrap (view->layout, line, ld);
-
+ gtk_text_layout_wrap (view->layout, line, ld);
gtk_text_btree_node_check_valid_upward (line->parent, view_id);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]