Define functionName even if not DEBUG to fix compiler error on Windows

This commit is contained in:
MarkRivers
2014-05-08 19:24:52 +00:00
parent 6119c3a030
commit 14ce3459ed
-2
View File
@@ -366,9 +366,7 @@ asynStatus omsMAXv::sendOnly(const char *outputBuff)
*/
asynStatus omsMAXv::sendReceive(const char *outputBuff, char *inputBuff, unsigned int inputSize)
{
#ifdef DEBUG
static const char* functionName = "sendReceive";
#endif
STATUS1 flag1;
epicsUInt16 getIndex, putIndex;