qulogic/libgnt

Parents a94fe28b9ca7
Children 8e797d173483
Revert the gnt_text_view_next_line change and tell pvs-studio to ignore it
--- a/gnttextview.c Thu Oct 03 22:44:56 2019 -0500
+++ b/gnttextview.c Mon Oct 07 21:32:19 2019 -0500
@@ -647,8 +647,10 @@
void gnt_text_view_next_line(GntTextView *view)
{
GntTextLine *line = g_new0(GntTextLine, 1);
+ GList *list = view->list;
view->list = g_list_prepend(g_list_first(view->list), line);
+ view->list = list; // -V519
gnt_widget_draw(GNT_WIDGET(view));
}