Skip to content

Commit bdf58ea

Browse files
committed
Removed unused variables
1 parent 436b07c commit bdf58ea

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

src/util.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -112,18 +112,14 @@ pending_call_callback(void *ignored)
112112

113113
pending_call_registered = 0;
114114

115-
size_t ran = 0;
116-
117-
size_t i;
118-
for (i = 0; i < pending_call_slots_count; i++)
115+
for (size_t i = 0; i < pending_call_slots_count; i++)
119116
{
120117
if (pending_call_slots[i].func)
121118
{
122119
int (*func)(void *) = pending_call_slots[i].func;
123120
void *arg = pending_call_slots[i].arg;
124121
pending_call_slots[i].func = 0;
125122
pending_call_slots[i].arg = 0;
126-
ran++;
127123
int res = func(arg);
128124
assert((res == 0 && !PyErr_Occurred()) || (res != 0 && PyErr_Occurred()));
129125
if (PyErr_Occurred())

0 commit comments

Comments
 (0)