modules-other-gail-gailtreeview.c-Fix-Waddress-warning.patch 917 B

1234567891011121314151617181920212223242526
  1. From: Brady Minardi <bradyminardi@fake-box.com>
  2. Date: Sat, 14 Jul 2018 07:56:39 +0000
  3. Subject: modules/other/gail/gailtreeview.c: Fix -Waddress warning
  4. Origin: upstream, 2.24.33, commit:8715570f45be46e4afbad42b188ff11d74a2200a
  5. ---
  6. modules/other/gail/gailtreeview.c | 5 +----
  7. 1 file changed, 1 insertion(+), 4 deletions(-)
  8. diff --git a/modules/other/gail/gailtreeview.c b/modules/other/gail/gailtreeview.c
  9. index df0fc69..bcc406a 100644
  10. --- a/modules/other/gail/gailtreeview.c
  11. +++ b/modules/other/gail/gailtreeview.c
  12. @@ -1467,10 +1467,7 @@ gail_tree_view_add_row_selection (AtkTable *table,
  13. else
  14. {
  15. set_iter_nth_row (tree_view, &iter_to_row, row);
  16. - if (&iter_to_row != NULL)
  17. - gtk_tree_selection_select_iter (selection, &iter_to_row);
  18. - else
  19. - return FALSE;
  20. + gtk_tree_selection_select_iter (selection, &iter_to_row);
  21. }
  22. }