[sr-dev] git:master:daa86b20: db_redis: declare variables at the beginning of the function