Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 43a81b0

Browse files
committed
Remove unused variable
1 parent 0f74efa commit 43a81b0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Objects/structseq.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ static PyObject *
371371
structseq_replace(PyStructSequence *self, PyObject *args, PyObject *kwargs)
372372
{
373373
PyStructSequence *result = NULL;
374-
Py_ssize_t n_fields, n_visible_fields, n_unnamed_fields, i;
374+
Py_ssize_t n_fields, n_unnamed_fields, i;
375375

376376
if (!_PyArg_NoPositional("__replace__", args)) {
377377
return NULL;
@@ -381,7 +381,6 @@ structseq_replace(PyStructSequence *self, PyObject *args, PyObject *kwargs)
381381
if (n_fields < 0) {
382382
return NULL;
383383
}
384-
n_visible_fields = VISIBLE_SIZE(self);
385384
n_unnamed_fields = UNNAMED_FIELDS(self);
386385
if (n_unnamed_fields < 0) {
387386
return NULL;

0 commit comments

Comments
 (0)