From d18befe7494d4db7b7f8fd039561e501c24a6388 Mon Sep 17 00:00:00 2001
From: =?utf8?q?Pawe=C5=82=20Stawicki?=
Date: Fri, 16 Mar 2018 19:31:00 +0100
Subject: [PATCH] [prevent][23957] Remove logically dead code
Change-Id: I63b4a859375ba2813b6805db8d00521a41fe699e
---
atspi/atspi-event-listener.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/atspi/atspi-event-listener.c b/atspi/atspi-event-listener.c
index 5c4b442..be04ad2 100644
--- a/atspi/atspi-event-listener.c
+++ b/atspi/atspi-event-listener.c
@@ -871,7 +871,7 @@ detail_matches_listener (const char *event_detail, const char *listener_detail)
return TRUE;
if (!event_detail)
- return (listener_detail ? FALSE : TRUE);
+ return FALSE;
return !(listener_detail [strcspn (listener_detail, ":")] == '\0'
? strncmp (listener_detail, event_detail,
--
2.7.4