Skip to content

Commit 0ca6ee0

Browse files
committed
fix: list groups command will crash in debug mode when there is no group
1 parent f2f975c commit 0ca6ee0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

include/snctl-cpp/groups/list_groups.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ inline void list_groups(rd_kafka_t *rk, rd_kafka_queue_t *rkqu) {
4444

4545
const auto *groups =
4646
rd_kafka_ListConsumerGroups_result_valid(result, &count);
47-
assert(groups != nullptr);
4847
std::cout << "There are " << count << " group" << (count == 1 ? "" : "s")
4948
<< std::endl;
5049
for (size_t i = 0; i < count; i++) {

0 commit comments

Comments
 (0)