From: Peter Howkins Date: Mon, 2 Jul 2018 20:01:36 +0000 (+0100) Subject: dtwm: Coverity 88285 X-Git-Tag: 2.3.0a~259 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ac6fd23add7b8ae2a27b682e5ee0ef19e8a587a5;p=oweals%2Fcde.git dtwm: Coverity 88285 --- 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