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:
parent
eb4337fdc2
commit
e08d3ce887
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user