From: Peter Howkins Date: Fri, 13 Jul 2018 18:24:11 +0000 (+0100) Subject: dtcm: Coverity 88955 X-Git-Tag: 2.3.0a~62 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6d7525e1745619ecb8399995802b3863a845588b;p=oweals%2Fcde.git dtcm: Coverity 88955 --- 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;