From ac168d8918c3759b2d1dd79daab238c03e717466 Mon Sep 17 00:00:00 2001 From: Peter Howkins Date: Mon, 30 Apr 2018 01:47:53 +0100 Subject: [PATCH] dtimsstart: Fix brackets on previous coverity fix --- cde/programs/dtimsstart/env.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cde/programs/dtimsstart/env.c b/cde/programs/dtimsstart/env.c index 90affbbc..3d60cd0e 100644 --- a/cde/programs/dtimsstart/env.c +++ b/cde/programs/dtimsstart/env.c @@ -336,7 +336,7 @@ int make_new_environ(oenv, sel) } # endif /* old_hpux */ for (i = 0; i < num && (p = unsetp[i]); i++) { - if (strcmp(p, xmod) == 0 || (xinput && strcmp(p, xinput)) == 0) + if (strcmp(p, xmod) == 0 || (xinput && (strcmp(p, xinput) == 0))) continue; if (oenv->set) { for (ep2 = oenv->set; ep2->name; ep2++) -- 2.25.1