From 6d7525e1745619ecb8399995802b3863a845588b Mon Sep 17 00:00:00 2001 From: Peter Howkins Date: Fri, 13 Jul 2018 19:24:11 +0100 Subject: [PATCH] dtcm: Coverity 88955 --- cde/programs/dtcm/dtcm/browser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cde/programs/dtcm/dtcm/browser.c b/cde/programs/dtcm/dtcm/browser.c index bd0193af..73603869 100644 --- a/cde/programs/dtcm/dtcm/browser.c +++ b/cde/programs/dtcm/dtcm/browser.c @@ -798,7 +798,7 @@ bcanvas_event(Widget w, XtPointer client_data, XtPointer call_data) int x, y, boxw, boxh; pr_pos xy; - if ((event->type == ButtonRelease) || (event == NULL)) + if ((event == NULL) || (event->type == ButtonRelease)) return; b = (Browser*)c->browser; -- 2.25.1