1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-18 00:52:33 +00:00

Wrap assignments used as if-condition in parens to suppress warning.

This commit is contained in:
Nick Briggs 2017-05-28 19:46:39 -07:00
parent eb4337fdc2
commit e08d3ce887

View File

@ -305,10 +305,10 @@ int FindUnixPipes(void) {
DBPRINT(("Entering FindUnixPipes\n"));
UnixPipeIn = UnixPipeOut = StartTime = UnixPID = -1;
if (envtmp = getenv("LDEPIPEIN")) UnixPipeIn = atoi(envtmp);
if (envtmp = getenv("LDEPIPEOUT")) UnixPipeOut = atoi(envtmp);
if (envtmp = getenv("LDESTARTTIME")) StartTime = atoi(envtmp);
if (envtmp = getenv("LDEUNIXPID")) UnixPID = atoi(envtmp);
if ((envtmp = getenv("LDEPIPEIN"))) UnixPipeIn = atoi(envtmp);
if ((envtmp = getenv("LDEPIPEOUT"))) UnixPipeOut = atoi(envtmp);
if ((envtmp = getenv("LDESTARTTIME"))) StartTime = atoi(envtmp);
if ((envtmp = getenv("LDEUNIXPID"))) UnixPID = atoi(envtmp);
/* This is a good place to initialize stuff like the UJ table */
#ifdef SYSVONLY