dtwm: Coverity 88285
authorPeter Howkins <flibble@users.sf.net>
Mon, 2 Jul 2018 20:01:36 +0000 (21:01 +0100)
committerPeter Howkins <flibble@users.sf.net>
Mon, 2 Jul 2018 20:01:36 +0000 (21:01 +0100)
cde/programs/dtwm/WmCEvent.c

index 3ce479d1fc2302b8ae79464cf26e5361532d4926..8ea971541b4c9eaab26182e7f70fee923ab57a06 100644 (file)
@@ -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