summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlukefromdc <[email protected]>2018-07-06 19:04:56 -0400
committerlukefromdc <[email protected]>2018-07-11 19:20:53 -0400
commitacdb7e2900181125190986af39dda61451f557a5 (patch)
tree6855fe2aaa6a928bf071c9e88ca07a5a0e65a14b
parent162015e9f3158d4c579c7c2ed3faf61f31e9bb83 (diff)
downloadcaja-acdb7e2900181125190986af39dda61451f557a5.tar.bz2
caja-acdb7e2900181125190986af39dda61451f557a5.tar.xz
Fix some issues found by static analysis
Apply one part of https://github.com/GNOME/nautilus/commit/c039b03590c86f5142c78d616700ef7af7c8a5a8#diff-f896071d07d34e87af94a18de95e4ea2
-rw-r--r--src/caja-pathbar.c2
1 files changed, 0 insertions, 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;