Fix the build with clang

This broke our macos ci.
This commit is contained in:
Matthias Clasen
2023-04-26 23:54:43 +02:00
parent f52975c220
commit 951e3b3d6b

View File

@@ -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))
{