dtimsstart: Coverity fixes

This commit is contained in:
Peter Howkins
2018-04-28 21:44:27 +01:00
parent 55c120b287
commit 62ee95bce2
7 changed files with 15 additions and 19 deletions

View File

@@ -270,10 +270,11 @@ int make_new_environ(oenv, sel)
xmod_done = False;
# ifdef old_hpux
xinput = xhp_xinput_name(NULL);
xinput_done = (xinput) ? False : True;
# else
xinput = NULL;
xinput_done = True;
# endif /* old_hpux */
xinput_done = (xinput) ? False : True;
proto = renv ? renv->proto : default_protocol(ims);
setp = unsetp = 0;