Skip to content

Commit

Permalink
[fix] removed a set but unused variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
winshining committed Sep 15, 2024
1 parent b26f7f3 commit ec1bda5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ngx_rtmp_eval.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,11 @@ static void
ngx_rtmp_eval_append_var(void *ctx, ngx_buf_t *b, ngx_rtmp_eval_t **e,
ngx_str_t *name, ngx_log_t *log)
{
ngx_uint_t k;
ngx_str_t v;
ngx_rtmp_eval_t *ee;

for (; *e; ++e) {
for (k = 0, ee = *e; ee->handler; ++k, ++ee) {
for (ee = *e; ee->handler; ++ee) {
if (ee->name.len == name->len &&
ngx_memcmp(ee->name.data, name->data, name->len) == 0)
{
Expand Down

0 comments on commit ec1bda5

Please sign in to comment.