diff --git a/acsMotionApp/src/SPiiPlusDriver.cpp b/acsMotionApp/src/SPiiPlusDriver.cpp index eb80f3b..179dc58 100644 --- a/acsMotionApp/src/SPiiPlusDriver.cpp +++ b/acsMotionApp/src/SPiiPlusDriver.cpp @@ -857,7 +857,7 @@ SPiiPlusAxis::SPiiPlusAxis(SPiiPlusController *pC, int axisNo) asynStatus SPiiPlusAxis::poll(bool* moving) { - asynStatus status; + asynStatus status = asynSuccess; SPiiPlusController* controller = (SPiiPlusController*) pC_; //static const char *functionName = "poll"; std::stringstream cmd;