From acdb7e2900181125190986af39dda61451f557a5 Mon Sep 17 00:00:00 2001 From: lukefromdc Date: Fri, 6 Jul 2018 19:04:56 -0400 Subject: Fix some issues found by static analysis Apply one part of https://github.com/GNOME/nautilus/commit/c039b03590c86f5142c78d616700ef7af7c8a5a8#diff-f896071d07d34e87af94a18de95e4ea2 --- src/caja-pathbar.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/caja-pathbar.c b/src/caja-pathbar.c index 27427aca..db854cab 100644 --- a/src/caja-pathbar.c +++ b/src/caja-pathbar.c @@ -817,7 +817,6 @@ caja_path_bar_size_allocate (GtkWidget *widget, if (direction == GTK_TEXT_DIR_RTL) { child_allocation.x -= path_bar->spacing; - down_slider_offset = child_allocation.x - widget_allocation.x - path_bar->slider_width; down_slider_offset = child_allocation.x - allocation->x - path_bar->slider_width; } else @@ -2058,7 +2057,6 @@ caja_path_bar_update_path (CajaPathBar *path_bar, fake_root = NULL; result = TRUE; first_directory = TRUE; - last_directory = FALSE; new_buttons = NULL; current_button_data = NULL; -- cgit v1.2.1