Skip to content

Commit cc91129

Browse files
committed
Remove unused old_len variable from tsarray_resize.
1 parent 9c42419 commit cc91129

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/tsarray.c

-1
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,6 @@ static unsigned long calc_new_capacity_with_hint(size_t obj_size,
356356
*/
357357
static int tsarray_resize(struct _tsarray_priv *priv, unsigned long new_len)
358358
{
359-
const unsigned long old_len = priv->len;
360359
const size_t obj_size = priv->obj_size;
361360
const unsigned long old_capacity = priv->capacity;
362361
unsigned long new_capacity;

0 commit comments

Comments
 (0)