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:
commit
51cc971d45
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue