From ac6fd23add7b8ae2a27b682e5ee0ef19e8a587a5 Mon Sep 17 00:00:00 2001 From: Peter Howkins Date: Mon, 2 Jul 2018 21:01:36 +0100 Subject: [PATCH] dtwm: Coverity 88285 --- cde/programs/dtwm/WmCEvent.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cde/programs/dtwm/WmCEvent.c b/cde/programs/dtwm/WmCEvent.c index 3ce479d1..8ea97154 100644 --- a/cde/programs/dtwm/WmCEvent.c +++ b/cde/programs/dtwm/WmCEvent.c @@ -926,8 +926,7 @@ Boolean HandleCButtonPress (ClientData *pCD, XButtonEvent *buttonEvent) ProcessClickBPress (buttonEvent, pCD, context, subContext); } - if (CheckForButtonAction (buttonEvent, context, subContext, pCD) - && pCD) + if (CheckForButtonAction (buttonEvent, context, subContext, pCD)) { /* * Button bindings have been processed, now check for bindings -- 2.25.1