msvc doesn't like zero length arrays

This commit is contained in:
Michael Davidsaver
2017-07-18 13:58:16 +02:00
parent edc54aae72
commit 43019344d2

View File

@ -81,7 +81,7 @@ static void startPVAServer(const iocshArgBuf *args)
}
}
static const iocshArg *stopPVAServerArgs[] = {};
static const iocshArg *stopPVAServerArgs[1] = {};
static const iocshFuncDef stopPVAServerFuncDef = {
"stopPVAServer", 0, stopPVAServerArgs
};
@ -99,7 +99,7 @@ static void stopPVAServer(const iocshArgBuf *args)
}
}
static const iocshArg *statusPVAServerArgs[] = {};
static const iocshArg *statusPVAServerArgs[1] = {};
static const iocshFuncDef statusPVAServerFuncDef = {
"statusPVAServer", 0, statusPVAServerArgs
};