From 4aa58ea856f00c375c9780ba55ba482daecb8e12 Mon Sep 17 00:00:00 2001 From: Fred Dysart Date: Wed, 3 Jan 2024 15:44:56 -0500 Subject: [PATCH] feat: cleanup --- conf.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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; }