Skip to content

Commit 10b2c93

Browse files
committed
cleanup testAddEnvVars shutdown call
1 parent 317589c commit 10b2c93

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

client/castApp/src/testAddEnvVars.c

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,7 @@ static void testAddEnvVars(void)
110110
testOk1(strcmp(caster.extra_envs[i], expectedExtraEnvs[i]) == 0);
111111
}
112112

113-
epicsEventId sd;
114-
sd = caster.shutdownEvent;
115-
epicsEventSignal(sd);
116-
113+
epicsEventSignal(caster.shutdownEvent);
117114
casterShutdown(&caster);
118115
}
119116

@@ -146,10 +143,7 @@ static void testAddEnvVarsBadInput(void)
146143
addReccasterEnvVars(&caster, argc, argvlist);
147144
testOk1(caster.num_extra_envs==0);
148145

149-
epicsEventId sd;
150-
sd = caster.shutdownEvent;
151-
epicsEventSignal(sd);
152-
146+
epicsEventSignal(caster.shutdownEvent);
153147
casterShutdown(&caster);
154148
}
155149

0 commit comments

Comments
 (0)