From 97b1e8d6908bcaeaf8b5db14da2fe8aac43f5136 Mon Sep 17 00:00:00 2001 From: correctmost <11866-correctmost@users.noreply.gitlab.xfce.org> Date: Thu, 4 Apr 2024 05:04:46 -0400 Subject: [PATCH] Fix parentheses-equality warning This fixes a warning when compiling with Clang 17. --- thunar/thunar-window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thunar/thunar-window.c b/thunar/thunar-window.c index 256a52d90..c0b990680 100644 --- a/thunar/thunar-window.c +++ b/thunar/thunar-window.c @@ -2141,7 +2141,7 @@ thunar_window_switch_current_view (ThunarWindow *window, _thunar_return_if_fail (THUNAR_IS_WINDOW (window)); _thunar_return_if_fail (THUNAR_IS_VIEW (new_view)); - if ((window->view == new_view)) + if (window->view == new_view) return; if (G_LIKELY (window->view != NULL)) -- GitLab