[X2Go-Commits] [nx-libs] 187/429: Rootless.c: prevent PVS error
git-admin at x2go.org
git-admin at x2go.org
Mon Oct 18 09:36:26 CEST 2021
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch 3.6.x
in repository nx-libs.
commit 1251e8347e60edf54a64d64e2059c35e28bd234a
Author: Ulrich Sibiller <uli42 at gmx.de>
Date: Mon Jan 4 18:58:55 2021 +0100
Rootless.c: prevent PVS error
"V547 Expression 'wmHints.input == 1' is always true."
---
nx-X11/programs/Xserver/hw/nxagent/Rootless.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Rootless.c b/nx-X11/programs/Xserver/hw/nxagent/Rootless.c
index 3bd0b7c25..9bcd90130 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Rootless.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Rootless.c
@@ -502,7 +502,8 @@ int nxagentExportProperty(WindowPtr pWin,
nxagentPropWMHints propHints = {
.flags = wmHints.flags,
- .input = (wmHints.input == True ? 1 : 0),
+ /*.input = (wmHints.input == True ? 1 : 0), is always True*/
+ .input = 1,
.initialState = wmHints.initial_state,
.iconPixmap = wmHints.icon_pixmap,
.iconWindow = wmHints.icon_window,
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
More information about the x2go-commits
mailing list