From 951e3b3d6b7428ba9f69a2b5de1dfbe95969fd9e Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 26 Apr 2023 23:54:43 +0200 Subject: [PATCH] Fix the build with clang This broke our macos ci. --- gtk/gtkpathbar.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gtk/gtkpathbar.c b/gtk/gtkpathbar.c index 41e61c20a5..bdd4987b30 100644 --- a/gtk/gtkpathbar.c +++ b/gtk/gtkpathbar.c @@ -418,13 +418,11 @@ set_button_image (GtkPathBar *path_bar, ButtonData *button_data) { struct SetButtonImageData *data; + GIcon *root_icon = NULL; switch (button_data->type) { case ROOT_BUTTON: - - GIcon *root_icon = NULL; - if (!button_data->mount && path_bar->root_icon != NULL && g_file_is_native (button_data->file)) { -- 2.30.2