Merge pull request #478 from dragos-oancea/mod_redis-undefined-val

[mod_redis] scan-build: Assigned value is garbage or undefined
This commit is contained in:
Andrey Volk
2020-03-12 20:22:43 +04:00
committed by GitHub

View File

@@ -367,7 +367,7 @@ static int cr_readln(REDIS rhnd, int start, char **line, int *idx)
static int cr_receivemultibulk(REDIS rhnd, char *line) static int cr_receivemultibulk(REDIS rhnd, char *line)
{ {
int bnum, blen, i, rc=0, idx; int bnum, blen, i, rc=0, idx=0;
bnum = atoi(line); bnum = atoi(line);