ringPointerTest: Prevent warnings

This commit is contained in:
Andrew Johnson
2017-10-30 19:54:09 -05:00
parent 71675fc7a4
commit f76d453a7a

View File

@@ -238,9 +238,11 @@ MAIN(ringPointerTest)
testPlan(37);
testSingle();
epicsThreadSetPriority(epicsThreadGetIdSelf(), epicsThreadPriorityScanLow);
if (prio)
epicsThreadSetPriority(epicsThreadGetIdSelf(), epicsThreadPriorityScanLow);
testPair(0);
testPair(1);
epicsThreadSetPriority(epicsThreadGetIdSelf(), prio);
if (prio)
epicsThreadSetPriority(epicsThreadGetIdSelf(), prio);
return testDone();
}