getty: push assignment to inner block.

No functional change.

MFC after:	2 weeks
This commit is contained in:
Xin LI 2021-05-08 21:53:58 -07:00
parent 5927c1bb31
commit c7b8bc367f

View File

@ -564,8 +564,8 @@ makeenv(char *env[])
strlcat(termbuf, TT, sizeof(termbuf));
*ep++ = termbuf;
}
if ((p = EV)) {
q = p;
if (EV) {
p = EV;
while ((q = strchr(q, ','))) {
*q++ = '\0';
*ep++ = p;