Fix build break

Former-commit-id: 50641d0569e8f4814b332da60ccd6d1bf425c53f
This commit is contained in:
John Sully 2020-09-17 00:53:56 +00:00
parent 17592f1da3
commit ec72a9451e

View File

@ -4647,6 +4647,8 @@ sds genRedisInfoString(const char *section) {
FBrokenLinkToMaster() ? "down" : "up"); FBrokenLinkToMaster() ? "down" : "up");
int cmasters = 0; int cmasters = 0;
listIter li;
listNode *ln;
listRewind(g_pserver->masters, &li); listRewind(g_pserver->masters, &li);
while ((ln = listNext(&li))) while ((ln = listNext(&li)))
{ {