[sr-dev] git:master:224cdfe4: db_redis: declare variable at beginning of function