Skip to content

Commit

Permalink
feat: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
cb-freddysart committed Jan 3, 2024
1 parent e39237e commit 4aa58ea
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions conf.c
Original file line number Diff line number Diff line change
Expand Up @@ -352,11 +352,11 @@ static void kafka_conf_set_oauthbearer_token_refresh_cb(rd_kafka_t *rk, const ch
zval args[2];

if (!opaque) {
return 0;
return;
}

if (!cbs->oauthbearer_token_refresh) {
return 0;
return;
}

ZVAL_NULL(&args[0]);
Expand All @@ -369,8 +369,6 @@ static void kafka_conf_set_oauthbearer_token_refresh_cb(rd_kafka_t *rk, const ch

zval_ptr_dtor(&args[0]);
zval_ptr_dtor(&args[1]);

return 0;
}


Expand Down

0 comments on commit 4aa58ea

Please sign in to comment.