qulogic/libgnt

Remove dead initializers.

16 months ago, Elliott Sales de Andrade
88c07b4791fa
Parents 11b8909ec287
Children f00c0fdfdc66
Remove dead initializers.
  • +0 -1
    gntbutton.c
  • +0 -1
    gnttree.c
  • --- a/gntbutton.c Tue Oct 15 23:03:28 2019 -0400
    +++ b/gntbutton.c Tue Nov 05 16:50:26 2019 -0500
    @@ -129,7 +129,6 @@
    GntBindableClass *bindable = GNT_BINDABLE_CLASS(klass);
    GntWidgetClass *widget_class = GNT_WIDGET_CLASS(klass);
    - widget_class = GNT_WIDGET_CLASS(klass);
    widget_class->draw = gnt_button_draw;
    widget_class->map = gnt_button_map;
    widget_class->size_request = gnt_button_size_request;
    --- a/gnttree.c Tue Oct 15 23:03:28 2019 -0400
    +++ b/gnttree.c Tue Nov 05 16:50:26 2019 -0500
    @@ -903,7 +903,6 @@
    {
    GntTree *tree = GNT_TREE(widget);
    GntTreePrivate *priv = gnt_tree_get_instance_private(tree);
    - GntTreeRow *old = priv->current;
    if (text[0] == '\r' || text[0] == '\n') {
    end_search(tree);