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
commit 51cc971d45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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)
{
int bnum, blen, i, rc=0, idx;
int bnum, blen, i, rc=0, idx=0;
bnum = atoi(line);