Skip to content

Commit cdf0917

Browse files
committed
Fix return
1 parent 37b45d2 commit cdf0917

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_queuemodule.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ resize_ringbuf(RingBuf *buf, Py_ssize_t capacity)
9494
{
9595
Py_ssize_t new_capacity = Py_MAX(INITIAL_RING_BUF_CAPACITY, capacity);
9696
if (new_capacity == buf->items_cap) {
97-
return;
97+
return 0;
9898
}
9999
assert(buf->num_items <= new_capacity);
100100

0 commit comments

Comments
 (0)