diff --git a/src/ioc/db/test/recGblCheckDeadbandTest.c b/src/ioc/db/test/recGblCheckDeadbandTest.c index 2df4c26ee..d3cac3a45 100644 --- a/src/ioc/db/test/recGblCheckDeadbandTest.c +++ b/src/ioc/db/test/recGblCheckDeadbandTest.c @@ -11,6 +11,7 @@ #include #include "recGbl.h" +#include "dbBase.h" #include "epicsMath.h" #include "epicsUnitTest.h" #include "testMain.h" @@ -23,7 +24,7 @@ void dbTestIoc_registerRecordDeviceDriver(struct dbBase *); /* Indices for deadband value, test number, val in sequence */ -static int idbnd, itest, iseq; +static int idbnd, itest; /* Different deadbands to test with */ static double t_Deadband[NO_OF_DEADBANDS] = { -1, 0, 1.5 };