fix: compile error

This commit is contained in:
Shengliang Guan 2022-07-12 15:14:38 +08:00
parent 2aee76ab63
commit 825f80629f
1 changed files with 1 additions and 2 deletions

View File

@ -31,13 +31,12 @@ void processShellMsg() {
STaosQall *qall;
SRpcMsg * pRpcMsg, rpcMsg;
int type;
void * pvnode;
SQueueInfo qinfo = {0};
qall = taosAllocateQall();
while (1) {
int numOfMsgs = taosReadAllQitemsFromQset(qset, qall, &pvnode, &qinfo);
int numOfMsgs = taosReadAllQitemsFromQset(qset, qall, &qinfo);
tDebug("%d shell msgs are received", numOfMsgs);
if (numOfMsgs <= 0) break;