Skip to content

Commit

Permalink
Fix some issues found by static analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
lukefromdc committed Jul 11, 2018
1 parent 162015e commit acdb7e2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/caja-pathbar.c
Expand Up @@ -817,7 +817,6 @@ caja_path_bar_size_allocate (GtkWidget *widget,
if (direction == GTK_TEXT_DIR_RTL) if (direction == GTK_TEXT_DIR_RTL)
{ {
child_allocation.x -= path_bar->spacing; 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; down_slider_offset = child_allocation.x - allocation->x - path_bar->slider_width;
} }
else else
Expand Down Expand Up @@ -2058,7 +2057,6 @@ caja_path_bar_update_path (CajaPathBar *path_bar,
fake_root = NULL; fake_root = NULL;
result = TRUE; result = TRUE;
first_directory = TRUE; first_directory = TRUE;
last_directory = FALSE;
new_buttons = NULL; new_buttons = NULL;
current_button_data = NULL; current_button_data = NULL;


Expand Down

0 comments on commit acdb7e2

Please sign in to comment.