diff --git a/conf.c b/conf.c index fa725824..7a1cf4c3 100644 --- a/conf.c +++ b/conf.c @@ -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]); @@ -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; }